From c326248494b6fe663320a38419a4a369ced2581c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 12 Mar 2019 13:02:04 -0400 Subject: ob_get_*_parameter(): Drop echo and improve quotes in eval cmds --- (limited to 'lib') diff --git a/lib/package.sh b/lib/package.sh index 75f2f29..f824e6c 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -234,7 +234,7 @@ ob_get_source_parameter() ;; esac - eval echo \"\$\{"_OB_SRCFIELD_${name}"\}\" + eval "printf '%s' \"\${_OB_SRCFIELD_${name}}\"" return 0 } @@ -267,7 +267,7 @@ ob_get_binary_parameter() ;; esac - eval echo \"\$\{"_OB_BINFIELD_${package}_${name}"\}\" + eval "printf '%s' \"\${_OB_BINFIELD_${package}_${name}}\"" return 0 } -- cgit v0.9.1