index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2023-07-08 11:08:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-07-08 11:08:24 +0200 |
commit | 2181916b1997023bf89f02ac271b7547434b76b6 (patch) | |
tree | dc9ae10b3555bcaa33bd2465aacc9e0ffb5a6885 /lib | |
parent | e8ee5a7c75b76243b301f174eb9f9eb2ea19a3c7 (diff) |
-rwxr-xr-x | lib/common-functions | 7 |
diff --git a/lib/common-functions b/lib/common-functions index b9cd2ca..f860e3c 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -475,10 +475,13 @@ extract_source_directory() { pkgbase_translated=$(gitlab_project_name_to_path "${pkgbase}") tmptarfile=$(mktemp "${tmp_dir}"'/tmp.upstream-package.XXXXXXXXXX') pkgtarfile="${tmp_dir}/${tmptarfile}" - curl -o "$pkgtarfile" -fLSs "https://buildmaster.archlinux32.org/upstream-packages/${pkgbase_translated}-${revision}.tar.gz" + url="https://buildmaster.archlinux32.org/upstream-packages/${pkgbase_translated}-${revision}.tar.gz" + curl -o "$pkgtarfile" -fLSs "${url}" res=$? if [ "$res" -ne 0 ]; then - >&2 printf 'Download upstream-package from upstream via buildmaster cache failed. Curl exit code was %s.' "${res}" + >&2 printf 'Download upstream-package "%s" from upstream via buildmaster cache failed. Curl exit code was %s.' \ + "${url}" \ + "${res}" return 1 fi if [ -f "${pkgtarfile}" ]; then |