diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-07-01 03:52:57 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-07-01 03:52:57 +0000 |
commit | a81e17f98ec7c76f7429ede33380fc3b2282a628 (patch) | |
tree | 1c080008487f49dded5464cd7dba93ffef9136f1 /scripts/build.sh | |
parent | trivial dependency change (diff) | |
download | historical-a81e17f98ec7c76f7429ede33380fc3b2282a628.tar.gz historical-a81e17f98ec7c76f7429ede33380fc3b2282a628.tar.bz2 historical-a81e17f98ec7c76f7429ede33380fc3b2282a628.zip |
takes an argument that specifies the profile
Diffstat (limited to 'scripts/build.sh')
-rw-r--r-- | scripts/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 14aea8edb416..494c06d7d01c 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -ver=1.0-gcc3 +ver=${1:-1.0-gcc3} 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 |