diff options
Diffstat (limited to 'Tools/scripts/release')
-rwxr-xr-x | Tools/scripts/release/setup.sh | 6 |
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 |