From 129376a8164894b9878950ca3b3b02f278234ac9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 Jan 2018 09:10:35 +0100 Subject: bin/common-functions: delete temp_dir --- bin/common-functions | 1 + 1 file changed, 1 insertion(+) 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' -- cgit v1.2.3-70-g09d2