quote TEMP_DIR

This commit is contained in:
Brad Warren
2016-03-03 12:01:53 -08:00
parent 8fbb6ed819
commit bb0406ee85
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -457,7 +457,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
echo "Installing Python packages..."
TEMP_DIR=$(TempDir)
trap "rm -rf $TEMP_DIR" EXIT
trap "rm -rf '$TEMP_DIR'" EXIT
# There is no $ interpolation due to quotes on starting heredoc delimiter.
# -------------------------------------------------------------------------
cat << "UNLIKELY_EOF" > "$TEMP_DIR/setuptools-requirements.txt"
@@ -205,7 +205,7 @@ if [ "$1" = "--le-auto-phase2" ]; then
echo "Installing Python packages..."
TEMP_DIR=$(TempDir)
trap "rm -rf $TEMP_DIR" EXIT
trap "rm -rf '$TEMP_DIR'" EXIT
# There is no $ interpolation due to quotes on starting heredoc delimiter.
# -------------------------------------------------------------------------
cat << "UNLIKELY_EOF" > "$TEMP_DIR/setuptools-requirements.txt"