summaryrefslogtreecommitdiff
path: root/bin/mksrcinfo
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-28 21:32:27 +0200
committerErich Eckner <git@eckner.net>2017-06-28 21:32:27 +0200
commitc93308a1979b73360712ab7322c508ad737c3bdf (patch)
treece739af11b735906d3fb531cd75294e04be46bd0 /bin/mksrcinfo
parent59ffe24491595d257327aba395d0a49b468f707a (diff)
downloadbuilder-c93308a1979b73360712ab7322c508ad737c3bdf.tar.xz
bin/mksrcinfo, bin/get-package-updates: move "eval" to front
Diffstat (limited to 'bin/mksrcinfo')
-rwxr-xr-xbin/mksrcinfo4
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[@]}"