aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-12-11 12:36:47 +0800
committerkris <kris@FreeBSD.org>2005-12-11 12:36:47 +0800
commita5d4bb8426388ba8d6754a45e17f2e5f8fb70266 (patch)
tree654bf4e42f9c14f0b0c1ca1aa5695e49ca2ba822 /Tools/portbuild
parente1b36b68d44648ec36d9c4e2a6634740239ef9d5 (diff)
downloadfreebsd-ports-gnome-a5d4bb8426388ba8d6754a45e17f2e5f8fb70266.tar.gz
freebsd-ports-gnome-a5d4bb8426388ba8d6754a45e17f2e5f8fb70266.tar.zst
freebsd-ports-gnome-a5d4bb8426388ba8d6754a45e17f2e5f8fb70266.zip
Shuffle the order of a cd
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/setupnode3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/setupnode b/Tools/portbuild/scripts/setupnode
index 5afd2edbd39e..6f11bbf36965 100755
--- a/Tools/portbuild/scripts/setupnode
+++ b/Tools/portbuild/scripts/setupnode
@@ -24,10 +24,9 @@ tmpdir=$5
md5master=$6
disconnected=$7
-cd ${tmpdir}
-
mkdir -p ${tmpdir}/${branch}/chroot
mkdir -p ${tmpdir}/${branch}/tarballs
+cd ${tmpdir}
if [ "$nocopy" = 0 ]; then
if [ -f ${tmpdir}/${branch}/tarballs/bindist.tar ]; then
md5=$(/sbin/md5 ${tmpdir}/${branch}/tarballs/bindist.tar | awk '{print $4}')