diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:55:31 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:55:31 +0000 |
commit | 6d119d605fefddd583f2f79eeb28c0c122462fa0 (patch) | |
tree | 98cef4d1729c425c9c5ee0f9f46aee46ba83a9dc /Tools | |
parent | 6ab268ded7920eeff0aa88d47f5a0d5b17fcf8de (diff) | |
download | ports-6d119d605fefddd583f2f79eeb28c0c122462fa0.tar.gz ports-6d119d605fefddd583f2f79eeb28c0c122462fa0.zip |
Notes
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 |