index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-packages | 4 |
diff --git a/bin/build-packages b/bin/build-packages index d827cdb..81afa7f 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -220,7 +220,7 @@ while [ "${count}" -ne 0 ]; do if [ "${mod_git_revision}" = 'work-tree' ]; then mod_git_revision=$( # we can't just create an empty index-file with mktemp, because git doesn't like it - tmp_subdir=$(mktemp -d); + tmp_subdir=$(mktemp -d 'tmp.build-packages.git.XXXXXXXXXX' --tmpdir) trap 'rm -rf --one-file-system "${tmp_subdir}"' EXIT export GIT_INDEX_FILE="${tmp_subdir}/index.new" git -C "${repo_paths__archlinux32}" add -A @@ -253,7 +253,7 @@ while [ "${count}" -ne 0 ]; do recursively_umount_and_rm "${tmp_dir}" exit "${err}" } - tmp_dir=$(mktemp -d "${work_dir}/tmp.XXXXXX") + tmp_dir=$(mktemp -d "${work_dir}/tmp.build-packages.XXXXXX") trap bail_out EXIT extract_source_directory "${git_repo}" "${git_revision}" "${mod_git_revision}" "${tmp_dir}" "${sub_pkgrel}" |