summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2003-11-11 06:49:25 +0000
committerDaniel Robbins <drobbins@gentoo.org>2003-11-11 06:49:25 +0000
commit1e46c5f19042044985cc549511896c2aa9dc2ff0 (patch)
treee70ab839a831187d98c6dd9077ee9e8bb5dc4b05 /scripts
parentMarking gnome-panel-2.4.0-r2 as x86-stable (diff)
downloadgentoo-2-1e46c5f19042044985cc549511896c2aa9dc2ff0.tar.gz
gentoo-2-1e46c5f19042044985cc549511896c2aa9dc2ff0.tar.bz2
gentoo-2-1e46c5f19042044985cc549511896c2aa9dc2ff0.zip
tweak to support #comments
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 7d0c6664de5a..25657a9c8455 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -6,7 +6,7 @@ else
ver=x86-1.4
fi
-for x in `cat /usr/portage/profiles/default-${ver}/packages.build`
+for x in `cat /usr/portage/profiles/default-${ver}/packages.build | grep -v '^#'`
do
myp=$(grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" /usr/portage/profiles/default-${ver}/packages | grep -v '^#' | sed -e 's:^\*::' | cat )
if [ "$myp" = "" ]