aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
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 daa50758b31..d5c4b614c2c 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