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 | |
parent | 59ffe24491595d257327aba395d0a49b468f707a (diff) | |
download | builder-c93308a1979b73360712ab7322c508ad737c3bdf.tar.xz |
bin/mksrcinfo, bin/get-package-updates: move "eval" to front
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-package-updates | 4 | ||||
-rwxr-xr-x | bin/mksrcinfo | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index 5c0fc77..d28fd44 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -157,8 +157,8 @@ for repo in ${repo_names}; do # to the one of an original source repository sed 's|^\(.\t\)\([^/]\+\)/\([^/]\+\)/\(.\+\)$|\2 \1\3/repos/\2-x86_64/\4|' | \ while read -r pkg_repo rest; do - printf '%s %s\n' \ - "$(eval printf '$new_repo_revisions__%s' "$(find_git_repository_to_package_repository "${pkg_repo}")")" \ + eval printf '%s %s\n' \ + "$(printf '$new_repo_revisions__%s' "$(find_git_repository_to_package_repository "${pkg_repo}")")" \ "${rest}" done else 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[@]}" |