summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rw-r--r--[-rwxr-xr-x]configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 67bc927..4db98ee 100755..100644
--- a/configure
+++ b/configure
@@ -140,7 +140,7 @@ parse_options()
# Handle arguments of "--opt arg" options.
if [ -n "${_prev}" ]; then
- eval "${_prev}=\$\{_opt\}"
+ eval "${_prev}"=\"\$\{_opt\}\"
_prev=
continue
fi
@@ -203,7 +203,7 @@ EOF
fi
if ${_optarg_set}; then
_opt="$(printf '%s' "${_opt}" | tr -c '[a-z0-9]' '_')"
- eval ${_opt}=\$\{_optarg\}
+ eval "${_opt}"=\"\$\{_optarg\}\"
else
_prev="${_opt}"
fi
@@ -224,7 +224,7 @@ find_dep_cmd()
: ${_element=-.}
if [ -f "${_element}/${_dep}" -a -x "${_element}/${_dep}" ]; then
${quiet} || printf '%s/%s\n' "${_element}" "${_dep}"
- eval "${_dep}=${_element}/${_dep}"
+ eval "${_dep}"=\"${_element}/${_dep}\"
IFS="${_old_ifs}"
return 0
fi