Fix error concerning '
' variable.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user