added check for parm
authorFred T. Hamster <fred@wildmutt.gruntose.blurgh>
Thu, 23 Nov 2017 07:01:48 +0000 (02:01 -0500)
committerFred T. Hamster <fred@wildmutt.gruntose.blurgh>
Thu, 23 Nov 2017 07:01:48 +0000 (02:01 -0500)
scripts/generator/jenkins_builder.sh

index 5ae007566a7218d6080d71355ede78e3af733293..eff06400e3779865f4ba57c6d5dde3f1506596b2 100644 (file)
@@ -8,6 +8,11 @@
 
 feisty_path="$1"; shift
 
+if [ -z "$feisty_path" ]; then
+  echo This script requires the path to the feisty meow codebase under test.
+  exit 1
+fi
+
 export RUN_ALL_TESTS=true
 export HOME="$(mktemp -d "$feisty_path/home_store.XXXXXX")"
 cd "$feisty_path"