mirror of
https://github.com/jlengrand/asdf-php.git
synced 2026-03-10 08:01:22 +00:00
Remove trailing slash from $tmp_download_dir.
This commit is contained in:
@@ -10,7 +10,7 @@ install_php() {
|
||||
if [ "$TMPDIR" = "" ]; then
|
||||
local tmp_download_dir=$(mktemp -d)
|
||||
else
|
||||
local tmp_download_dir=$TMPDIR
|
||||
local tmp_download_dir=${TMPDIR%/}
|
||||
fi
|
||||
|
||||
local source_path=$(get_download_file_path $install_type $version $tmp_download_dir)
|
||||
|
||||
Reference in New Issue
Block a user