KDB List-Tools: Support paths containing spaces
#
# @tags org
-EXEC_PATH=@CMAKE_INSTALL_PREFIX@/@TARGET_TOOL_EXEC_FOLDER@
+EXEC_PATH="@CMAKE_INSTALL_PREFIX@/@TARGET_TOOL_EXEC_FOLDER@"
if [ -d "$KDB_EXEC_PATH" ]; then
- EXEC_PATH=$KDB_EXEC_PATH
+ EXEC_PATH="$KDB_EXEC_PATH"
fi
# list all installed tools
echo "External tools are located in $EXEC_PATH"
-ls $EXEC_PATH
+ls "$EXEC_PATH"
