aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-24 12:55:31 +0800
committerkris <kris@FreeBSD.org>2003-01-24 12:55:31 +0800
commit76617df151a545b40b47650ba25d852f56dcdc05 (patch)
tree0926a805fadf28e20c75b077df4e79fb080209e0 /Tools
parent283256d7f3efb2ce1ae7e4149315b594c12113dc (diff)
downloadfreebsd-ports-gnome-76617df151a545b40b47650ba25d852f56dcdc05.tar.gz
freebsd-ports-gnome-76617df151a545b40b47650ba25d852f56dcdc05.tar.zst
freebsd-ports-gnome-76617df151a545b40b47650ba25d852f56dcdc05.zip
- Use ${arch}
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/setupnode11
1 files changed, 6 insertions, 5 deletions
diff --git a/Tools/portbuild/scripts/setupnode b/Tools/portbuild/scripts/setupnode
index 8ba95758c39b..519aa8069851 100755
--- a/Tools/portbuild/scripts/setupnode
+++ b/Tools/portbuild/scripts/setupnode
@@ -11,16 +11,17 @@ if [ "x$1" = "x-nocopy" ]; then
shift
fi
-if [ $# != 5 ]; then
+if [ $# != 6 ]; then
echo "usage: $0 [-nocopy] master portbuilddir branch tmpdir md5"
exit 1
fi
master=$1
pb=$2
-branch=$3
-tmpdir=$4
-md5master=$5
+arch=$3
+branch=$4
+tmpdir=$5
+md5master=$6
if [ $(echo $(/sbin/mount | grep "${pb}/.*read-only" | awk '{print $3}' | wc -c)) != 0 ]; then
/sbin/umount -f $(/sbin/mount | grep "${pb}/.*read-only" | awk '{print $3}')
@@ -53,7 +54,7 @@ if [ "$nocopy" = 0 ]; then
echo "not copying bindist to $(hostname -s) since it is already up to date"
else
echo "copying bindist to $(hostname -s)"
- cp -p ${pb}/${branch}/tarballs/bindist.tar ${tmpdir}/${branch}/tarballs
+ cp -p ${pb}/${arch}/${branch}/tarballs/bindist.tar ${tmpdir}/${branch}/tarballs
fi
fi