summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index 20f121e..5ccaef7 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -158,9 +158,9 @@ ob_parse_dep()
# Set the specified variables.
for comp in pkg archqual rel ver arches plats; do
- comp_var="$(eval echo \"\$\{${comp}_var\}\")"
+ comp_var="$(eval "printf '%s' \"\${${comp}_var}\"")"
[ -z "${comp_var}" ] && continue
- eval ${comp_var}=\"\$\{${comp}\}\"
+ eval "${comp_var}=\"\${${comp}}\""
done
if [ -n "${host_arch}" ] && ! ob_arch_is_concerned \