Unbound variable in a script

This commit is contained in:
Ilya Zverev 2017-10-24 20:52:29 +03:00
parent 8c8ae05672
commit 7936d33676

View file

@ -89,5 +89,5 @@ rm "$VALIDATION"
if [ -n "${SERVER-}" ]; then
scp -q ${SERVER_KEY+-i "$SERVER_KEY"} "$HTML_DIR"/* "$SERVER"
[ -n "$REMOVE_HTML" ] && rm -r "$HTML_DIR"
[ -n "${REMOVE_HTML-}" ] && rm -r "$HTML_DIR"
fi