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 | 55aa48c615f08cc702ca246a71a32015ef3ddd8c (patch) | |
tree | 6cec35e7a186d5a74c4e0b12322de22483662430 /scripts/build.sh | |
parent | Added LICENSE, SLOT and KEYWORDS. (diff) | |
download | historical-55aa48c615f08cc702ca246a71a32015ef3ddd8c.tar.gz historical-55aa48c615f08cc702ca246a71a32015ef3ddd8c.tar.bz2 historical-55aa48c615f08cc702ca246a71a32015ef3ddd8c.zip |
updates
Diffstat (limited to 'scripts/build.sh')
-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 |