summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2003-01-08 18:48:38 +0000
committerDaniel Robbins <drobbins@gentoo.org>2003-01-08 18:48:38 +0000
commitd76cd84c5489a65e234a4387fb21f020d38fe0de (patch)
treeba0f83653a52d3bb5a7f34550f20a62b1f60e051 /scripts
parentmark stable (diff)
downloadgentoo-2-d76cd84c5489a65e234a4387fb21f020d38fe0de.tar.gz
gentoo-2-d76cd84c5489a65e234a4387fb21f020d38fe0de.tar.bz2
gentoo-2-d76cd84c5489a65e234a4387fb21f020d38fe0de.zip
Will now include things that may not be in the system profile
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index b461ad42d625..fada64f24d87 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -8,5 +8,12 @@ fi
for x in `cat /usr/portage/profiles/default-${ver}/packages.build`
do
- grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" /usr/portage/profiles/default-${ver}/packages | grep -v '^#' | sed -e 's:^\*::' | cat
+ myp=$(grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" /usr/portage/profiles/default-${ver}/packages | grep -v '^#' | sed -e 's:^\*::' | cat )
+ if [ "$myp" = "" ]
+ then
+ #if not in the system profile, include it anyway
+ echo $x
+ else
+ echo $myp
+ fi
done