Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1229)

Unified Diff: src/scripts/make_chroot.sh

Issue 542079: build: Add gnupg and x11-utils to prod package list. (Closed)
Patch Set: make package-installing scripts support end-of-line comments Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/scripts/install_packages.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/make_chroot.sh
diff --git a/src/scripts/make_chroot.sh b/src/scripts/make_chroot.sh
index e4004d018740ed88724f502b6c644f9d384db7fc..c9bc526c8686ee7eb486aca3b77b4c7a16f624fc 100755
--- a/src/scripts/make_chroot.sh
+++ b/src/scripts/make_chroot.sh
@@ -45,7 +45,7 @@ eval set -- "${FLAGS_ARGV}"
# TODO: replace shflags with something less error-prone, or contribute a fix.
set -e
-COMPONENTS=`cat $FLAGS_pkglist | grep -v ' *#' | grep -v '^ *$' | tr '\n' ' '`
+COMPONENTS=`cat $FLAGS_pkglist | sed -e 's/#.*//' | grep -v '^ *$' | tr '\n' ' '`
FULLNAME="Chrome OS dev user"
DEFGROUPS="eng,admin,adm,dialout,cdrom,floppy,audio,dip,video"
PASSWORD=chronos
« no previous file with comments | « src/scripts/install_packages.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698