diff --git a/deploy.sh b/deploy.sh index 46003ff..49a4bb3 100644 --- a/deploy.sh +++ b/deploy.sh @@ -17,6 +17,10 @@ if [ ! -n "$PASSWORD" ];then echo "missing option \"HOST\", aborting" exit 1 fi +if [ ! -n "$DIRECTORY" ];then + echo "missing option \"DIRECTORY\", aborting" + exit 1 +fi if [ ! -n "$IGNORE" ];then IGNORE='' fi