diff options
author | Erich Eckner <git@eckner.net> | 2017-06-28 21:32:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-28 21:32:27 +0200 |
commit | c93308a1979b73360712ab7322c508ad737c3bdf (patch) | |
tree | ce739af11b735906d3fb531cd75294e04be46bd0 /bin/mksrcinfo | |
parent | 59ffe24491595d257327aba395d0a49b468f707a (diff) | |
download | builder-c93308a1979b73360712ab7322c508ad737c3bdf.tar.xz |
bin/mksrcinfo, bin/get-package-updates: move "eval" to front
Diffstat (limited to 'bin/mksrcinfo')
-rwxr-xr-x | bin/mksrcinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mksrcinfo b/bin/mksrcinfo index a2c9145..08b0f89 100755 --- a/bin/mksrcinfo +++ b/bin/mksrcinfo @@ -13,9 +13,9 @@ fi printf '\tarch = %s\n' "${arch[@]}" for print in 'makedepends' 'checkdepends' 'depends' 'provides'; do - printf '\t'"${print}"' = %s\n' $(eval echo '${'"${print}"'[@]}') + eval printf '\t'"${print}"' = %s\n' $(echo '${'"${print}"'[@]}') for a in 'i686'; do - printf '\t'"${print}"' = %s\n' $(eval echo '${'"${print}_${a}"'[@]}') + eval printf '\t'"${print}"' = %s\n' $(echo '${'"${print}_${a}"'[@]}') done done printf 'pkgname = %s\n' "${pkgname[@]}" |