diff --git a/scripts/generate_new_test_pems.sh b/scripts/generate_new_test_pems.sh index e68e28f..d822267 100644 --- a/scripts/generate_new_test_pems.sh +++ b/scripts/generate_new_test_pems.sh @@ -1,4 +1,10 @@ #!/usr/bin/expect +# Check if a parameter is provided +# Check if a parameter is provided +if [ -z "$1" ]; then + echo "Usage: $0 " + exit 0 # Exit without an error code +fi echo Creating new dir "new_pem" mkdir $1 cd $1