use package name for tmp folder
authorAJ ONeal <aj@therootcompany.com>
Thu, 7 May 2020 17:45:51 +0000 (17:45 +0000)
committerAJ ONeal <aj@therootcompany.com>
Thu, 7 May 2020 17:45:51 +0000 (17:45 +0000)
webi/template.bash

index 2af0e7e033ed9a571ebd20acd7a4a75275723f12..651d5bd238bf7bab399e3723a9335579cb16ad49 100644 (file)
@@ -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"