summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanage-baserock7
1 files changed, 6 insertions, 1 deletions
diff --git a/manage-baserock b/manage-baserock
index 8210812..f9d646a 100755
--- a/manage-baserock
+++ b/manage-baserock
@@ -60,7 +60,12 @@ case "${ACTION}" in
echo "Sorry, $SYSTEM already exists"
exit 1
fi
-
+
+ if test -z "$URL"; then
+ echo "Usage: $0 add <name> <url>"
+ exit 1
+ fi
+
TEMP_BASE=$(mktemp -d --tmpdir="${BASEROCK_BASE}")
cleanup () { rm -rf "${TEMP_BASE}"; }
trap cleanup 0