aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts/release
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/release')
-rwxr-xr-xTools/scripts/release/setup.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/release/setup.sh b/Tools/scripts/release/setup.sh
index c985ada4a5f7..e022f97ce44e 100755
--- a/Tools/scripts/release/setup.sh
+++ b/Tools/scripts/release/setup.sh
@@ -1,7 +1,11 @@
#!/bin/sh
# $FreeBSD$
-dir="/var/portbuild/4/bak"
+dir=$@
+if [ ! -d $dir ]; then
+ echo "Directory not found. Aborting."
+ exit 1
+fi
tar xzvf $dir/ports.tar.gz
cd ports