aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-24 12:46:02 +0800
committerkris <kris@FreeBSD.org>2003-01-24 12:46:02 +0800
commita7fb62856fc931cd0b9dfaee4d3a5b81063292b6 (patch)
tree2535f5b21fb58125f3e6d17caa42fac497134609 /Tools
parenta1673e4b7fc540780e16dd4589667db826a4a865 (diff)
downloadfreebsd-ports-graphics-a7fb62856fc931cd0b9dfaee4d3a5b81063292b6.tar.gz
freebsd-ports-graphics-a7fb62856fc931cd0b9dfaee4d3a5b81063292b6.tar.zst
freebsd-ports-graphics-a7fb62856fc931cd0b9dfaee4d3a5b81063292b6.zip
Add the ${arch} argument
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