From cdb3bcea206a7397686921ddacd50c1a39e42cd2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 28 Jun 2017 23:02:14 +0200 Subject: bin/mksrcinfo: fix some eval-printf bugs --- bin/mksrcinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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[@]}" -- cgit v1.2.3-70-g09d2