diff options
author | will <will@FreeBSD.org> | 2002-05-16 11:24:44 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-05-16 11:24:44 +0800 |
commit | 042833d434fb8265c231a1e85716fadaf30faa18 (patch) | |
tree | bf3dbfb4b54347834a93e22fd05882f5aeb86652 | |
parent | 5da50a85adef68b73a5234863d9b6e0dafefd993 (diff) | |
download | freebsd-ports-graphics-042833d434fb8265c231a1e85716fadaf30faa18.tar.gz freebsd-ports-graphics-042833d434fb8265c231a1e85716fadaf30faa18.tar.zst freebsd-ports-graphics-042833d434fb8265c231a1e85716fadaf30faa18.zip |
More useful exit if dir not passed.
-rwxr-xr-x | Tools/scripts/release/setup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/scripts/release/setup.sh b/Tools/scripts/release/setup.sh index e022f97ce44..017abd8e240 100755 --- a/Tools/scripts/release/setup.sh +++ b/Tools/scripts/release/setup.sh @@ -2,6 +2,10 @@ # $FreeBSD$ dir=$@ +if [ -z $dir ]; then + echo "Usage: $0 <path to dir with ports and packages to split>" + exit 1 +fi if [ ! -d $dir ]; then echo "Directory not found. Aborting." exit 1 |