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))"
@ -182,6 +184,11 @@ done < <(find "${conf_dir}" -maxdepth 1 -type f -name "*.conf" -print0)
IFS=$'\n' website_arr=($(sort <<<"${unsorted_website_arr[*]}"))
# - Reset IFS
# -
IFS=$CUR_IFS
# =============
# --- Some
# =============
@ -239,6 +246,11 @@ read _IN
done
# - Reset IFS
# -
IFS=$CUR_IFS
echo ""
echononl " Include Configuration file.."
if [[ ! -f $conf_file ]]; then