diff --git a/deploy.sh b/deploy.sh index 777b0ae..ab6faf6 100644 --- a/deploy.sh +++ b/deploy.sh @@ -14,6 +14,10 @@ case "${TARGET}" in ;; esac +if [[ ! -d "${destination}" ]] ; then + mkdir -p "${destination}" || echo "Failed to create target directory for deployment!" +fi + rm -rf "${destination}/*" rm -rf "${destination}/.??*" cp -a dencode.css dencode.js index.html quoted-printable.js utf8.js "${destination}"