Skip to content

Commit 816b182

Browse files
authored
Prevent globbing and word splitting
1 parent 1748dd0 commit 816b182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create_install_path.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515
ABSOLUTE_INSTALL_PATH=$(realpath "${INSTALL_PATH}")
1616
echo "Absolute installation path is '${ABSOLUTE_INSTALL_PATH}'"
1717

18-
test -d ${INSTALL_PATH}
18+
test -d "${INSTALL_PATH}"
1919
check_status "Installation path '${INSTALL_PATH}' is not a directory (absolute path is '${ABSOLUTE_INSTALL_PATH}')"
2020

2121
test -r "${INSTALL_PATH}"

0 commit comments

Comments
 (0)