Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-22 09:10:35 +0100
committerErich Eckner <git@eckner.net>2018-01-22 09:10:35 +0100
commit129376a8164894b9878950ca3b3b02f278234ac9 (patch)
tree5cf4ff21b40404293064da880a0dd0112eff11cb /bin
parent4f6f142c0f15fae17269a23d917e67768fc1b083 (diff)
bin/common-functions: delete temp_dir
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 1fd5db7..f512b89 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -1233,6 +1233,7 @@ next_sub_pkgrel() {
git_repo=$(find_git_repository_to_package_repository "${repository}")
temp_dir=$(mktemp -d 'tmp.common-functions.next_sub_pkgrel.XXXXXXXXXX' --tmpdir)
+ trap 'rm -rf --one-file-system "${temp_dir}"' EXIT
find_pkgbuilds "${package}" "${repository}" "${git_repo}" "${git_revision}" "${mod_git_revision}"
extract_source_directory "${git_repo}" "${git_revision}" "${mod_git_revision}" "${temp_dir}" '0'