diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:46:02 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:46:02 +0000 |
commit | 43c514866990dc56bf2851f0d3b62988e990f9ef (patch) | |
tree | be7b20b171e4860e75a4ccfbba818a371b99756b /Tools | |
parent | - Use the ${arch} subdirectory and pass ${arch} around to other scripts (diff) |
Add the ${arch} argument
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/makeduds | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/makeduds b/Tools/portbuild/scripts/makeduds index daa50758b310..d5c4b614c2c3 100755 --- a/Tools/portbuild/scripts/makeduds +++ b/Tools/portbuild/scripts/makeduds @@ -1,10 +1,12 @@ #!/bin/sh -# usage: $0 branch +# usage: $0 arch branch # configurable variables pb=/var/portbuild +arch=$1 +shift -. ${pb}/portbuild.conf +. ${pb}/${arch}/portbuild.conf . ${pb}/scripts/buildenv @@ -21,9 +23,9 @@ fi branch=$1 -buildenv ${pb} ${branch} +buildenv ${pb} ${arch} ${branch} -duds=${pb}/${branch}/duds +duds=${pb}/${arch}/${branch}/duds unset DISPLAY |