Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/mksrcinfo
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-28 23:02:14 +0200
committerErich Eckner <git@eckner.net>2017-06-28 23:02:14 +0200
commitcdb3bcea206a7397686921ddacd50c1a39e42cd2 (patch)
treef0ff26d3145f187db72e1fcf9dc9f62ab22af67d /bin/mksrcinfo
parent832fd2beebeeb31e17729ec5296fa1c2bfbdac0f (diff)
bin/mksrcinfo: fix some eval-printf bugs
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 08b0f89..40cb7d0 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
- eval printf '\t'"${print}"' = %s\n' $(echo '${'"${print}"'[@]}')
+ eval printf "'\t${print} = %s\n'" '"${'"${print}"'[@]}"'
for a in 'i686'; do
- eval printf '\t'"${print}"' = %s\n' $(echo '${'"${print}_${a}"'[@]}')
+ eval printf "'\t${print} = %s\n'" '"${'"${print}_${a}"'[@]}"'
done
done
printf 'pkgname = %s\n' "${pkgname[@]}"