Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-package-updates4
-rwxr-xr-xbin/mksrcinfo4
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[@]}"