Skip to content

Commit

Permalink
Correct tmp download dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 2, 2023
1 parent 616dc00 commit c5fb6bc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ install() {

local tmp_download_dir

if [[ -z ${TMPDIR-} ]]; then
tmp_download_dir=$(mktemp -d)
else
tmp_download_dir=${TMPDIR%/}
fi
tmp_download_dir=$(mktemp -d -t asdf.XXXXXXXX)

local bin_install_path="${install_path}/bin"

Expand Down

0 comments on commit c5fb6bc

Please sign in to comment.