From: AJ ONeal Date: Thu, 7 May 2020 17:45:51 +0000 (+0000) Subject: use package name for tmp folder X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=58867b1b883509f4846e79b9ad7c7490366748c1;p=webi-installers%2F.git use package name for tmp folder --- diff --git a/webi/template.bash b/webi/template.bash index 2af0e7e..651d5bd 100644 --- a/webi/template.bash +++ b/webi/template.bash @@ -27,7 +27,7 @@ set -u ## Set up tmp, download, and install directories ## -WEBI_TMP=${WEBI_TMP:-"$(mktemp -d -t webinstall-go.XXXXXXXX)"} +WEBI_TMP=${WEBI_TMP:-"$(mktemp -d -t webinstall-${WEBI_PKG:-}.XXXXXXXX)"} mkdir -p "$HOME/Downloads" mkdir -p "$HOME/.local/bin"