Fix error concerning '

' variable.
This commit is contained in:
2022-07-23 03:28:17 +02:00
parent d7018d7aec
commit 4e0debbc1e
12 changed files with 135 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
CUR_IFS=$IFS
script_name="$(basename $(realpath $0))"
script_dir="$(dirname $(realpath $0))"
@ -246,6 +248,11 @@ if [[ -z "$WEBSITE" ]] ; then
#fatal "No website ios given on commandline - Missing Parameter '-s <website>'"
fi
# - Reset IFS
# -
IFS=$CUR_IFS
WEB_BASE_DIR="/var/www/${WEBSITE}"
if [[ ! -d ${WEB_BASE_DIR} ]] ; then