Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 5c2e333..b9cd2ca 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -473,7 +473,7 @@ extract_source_directory() {
&& [ "${repository}" != 'build-support' ]; then
local pkgbase_translated
pkgbase_translated=$(gitlab_project_name_to_path "${pkgbase}")
- tmptarfile=$(mktemp 'tmp.upstream-package.XXXXXXXXXX')
+ 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"
res=$?