chore: standardize how temporary files are named

This commit is contained in:
Jose Diaz-Gonzalez
2019-05-20 18:00:14 -07:00
parent c8a491ed7f
commit 1b92f4a97e
13 changed files with 14 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ tar_build() {
shift 1
# clean up after ourselves
local TAR_BUILD_TMP_WORK_DIR=$(mktemp -d "/tmp/dokku_tar.XXXX")
local TAR_BUILD_TMP_WORK_DIR=$(mktemp -d "/tmp/dokku-${FUNCNAME[0]}.XXXX")
trap "rm -rf '$TAR_BUILD_TMP_WORK_DIR' >/dev/null" RETURN INT TERM EXIT
# extract tar file