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))"
|
||||
|
||||
@ -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
|
||||
|
Reference in New Issue
Block a user