diff options
author | Will Andrews <will@FreeBSD.org> | 2002-05-16 03:21:44 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-05-16 03:21:44 +0000 |
commit | a2d1f26f296c7cdd871fa1a5c6b8f0d810ae2ced (patch) | |
tree | 8fdb936be4faf4c79d012c0aa8a9cd993777eb37 /Tools/scripts | |
parent | cf5b40d956451c877e631a6b0cd7fa22320f76b2 (diff) |
Notes
Diffstat (limited to 'Tools/scripts')
-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 |