diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2002-08-01 18:55:42 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2002-08-01 18:55:42 +0000 |
commit | bb51fa983be12d843f79eec6b8c07cc3e89a7821 (patch) | |
tree | 746ed3ebbeed41157dfe6fea5ae50bce89baa0bc /scripts | |
parent | Added LICENSE, SLOT and KEYWORDS. (diff) | |
download | gentoo-2-bb51fa983be12d843f79eec6b8c07cc3e89a7821.tar.gz gentoo-2-bb51fa983be12d843f79eec6b8c07cc3e89a7821.tar.bz2 gentoo-2-bb51fa983be12d843f79eec6b8c07cc3e89a7821.zip |
updates
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 494c06d7d01c..b461ad42d625 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,11 @@ #!/bin/bash -ver=${1:-1.0-gcc3} + +if [ "${1}" ]; then + ver=${1} +else + ver=x86-2.0 +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 |