diff --git a/install_easy.sh b/install_easy.sh index d6f1df3..994f0c9 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -153,7 +153,7 @@ parse_var_checked() # $1 - file name # $2 - var name local sed="sed -nre s/^[[:space:]]*$2=[\\\"|\']?([^\\\"|\']*)[\\\"|\']?/\1/p" - local v="$($sed <"$1" | head -n 1)" + local v="$($sed <"$1" | tail -n 1)" eval $2=\"$v\" } parse_vars_checked()