aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-01-24 04:46:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-01-24 04:46:02 +0000
commit43c514866990dc56bf2851f0d3b62988e990f9ef (patch)
treebe7b20b171e4860e75a4ccfbba818a371b99756b /Tools
parente3ceee4e572e827ef7e069b5435a4d12e804705b (diff)
downloadports-43c514866990dc56bf2851f0d3b62988e990f9ef.tar.gz
ports-43c514866990dc56bf2851f0d3b62988e990f9ef.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/makeduds10
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