Remove trailing slash from $tmp_download_dir.

This commit is contained in:
Trevor Brown
2016-05-26 10:06:51 -04:00
parent cc17b405d9
commit 2753efbd70

View File

@@ -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)