From 2753efbd70d5a2e5f255e700028ccf13a23eccb7 Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Thu, 26 May 2016 10:06:51 -0400 Subject: [PATCH] Remove trailing slash from $tmp_download_dir. --- bin/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install b/bin/install index d2615c6..02a56ae 100644 --- a/bin/install +++ b/bin/install @@ -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)