Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-07-08 11:02:55 +0200
committerErich Eckner <git@eckner.net>2023-07-08 11:02:55 +0200
commitafb61048b689b15b4e21e0ff94d03a6a3aa79954 (patch)
treed1542870bfc72819012cac8a687405822baaf73c
parenta51f2bbec16f551dd604780dcb4218107c5926a6 (diff)
lib/common-functions: fix error message
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 49d6f6f..5c2e333 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -478,7 +478,7 @@ extract_source_directory() {
curl -o "$pkgtarfile" -fLSs "https://buildmaster.archlinux32.org/upstream-packages/${pkgbase_translated}-${revision}.tar.gz"
res=$?
if [ "$res" -ne 0 ]; then
- >&2 echo 'Download upstream-package from upstream via buildmaster cache failed. Curl exit code was $res.'
+ >&2 printf 'Download upstream-package from upstream via buildmaster cache failed. Curl exit code was %s.' "${res}"
return 1
fi
if [ -f "${pkgtarfile}" ]; then