diff options
author | kris <kris@FreeBSD.org> | 2003-01-24 12:55:31 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-01-24 12:55:31 +0800 |
commit | 76617df151a545b40b47650ba25d852f56dcdc05 (patch) | |
tree | 0926a805fadf28e20c75b077df4e79fb080209e0 /Tools | |
parent | 283256d7f3efb2ce1ae7e4149315b594c12113dc (diff) | |
download | freebsd-ports-gnome-76617df151a545b40b47650ba25d852f56dcdc05.tar.gz freebsd-ports-gnome-76617df151a545b40b47650ba25d852f56dcdc05.tar.zst freebsd-ports-gnome-76617df151a545b40b47650ba25d852f56dcdc05.zip |
- Use ${arch}
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/setupnode | 11 |
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 |