diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-12 13:02:04 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-12 13:02:04 (EDT) |
commit | c326248494b6fe663320a38419a4a369ced2581c (patch) | |
tree | a1181aa3cfcecb9950e87523d96cf932c4b91d09 /lib | |
parent | 4d245cf2b7170f32aad050e92356b1407b5e99df (diff) |
ob_get_*_parameter(): Drop echo and improve quotes in eval cmds
Diffstat (limited to 'lib')
-rw-r--r-- | lib/package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |