diff options
author | Erich Eckner <git@eckner.net> | 2018-01-22 09:10:35 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-22 09:10:35 +0100 |
commit | 129376a8164894b9878950ca3b3b02f278234ac9 (patch) | |
tree | 5cf4ff21b40404293064da880a0dd0112eff11cb /bin | |
parent | 4f6f142c0f15fae17269a23d917e67768fc1b083 (diff) | |
download | builder-129376a8164894b9878950ca3b3b02f278234ac9.tar.xz |
bin/common-functions: delete temp_dir
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/common-functions | 1 |
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' |