aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-05-16 11:24:44 +0800
committerwill <will@FreeBSD.org>2002-05-16 11:24:44 +0800
commit042833d434fb8265c231a1e85716fadaf30faa18 (patch)
treebf3dbfb4b54347834a93e22fd05882f5aeb86652
parent5da50a85adef68b73a5234863d9b6e0dafefd993 (diff)
downloadfreebsd-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-xTools/scripts/release/setup.sh4
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