Skip to content

Commit 2b42429

Browse files
committed
Linux: quote install script paths
Fixes arduino#9217
1 parent 8f02375 commit 2b42429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/linux/dist/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ xdg_install_f() {
2929
TMP_DIR=`mktemp --directory`
3030

3131
# Create *.desktop file using the existing template file
32-
sed -e "s,<BINARY_LOCATION>,${SCRIPT_PATH}/arduino,g" \
32+
sed -e "s,<BINARY_LOCATION>,\"${SCRIPT_PATH}/arduino\",g" \
3333
-e "s,<ICON_NAME>,${RESOURCE_NAME},g" "${SCRIPT_PATH}/lib/desktop.template" > "${TMP_DIR}/${RESOURCE_NAME}.desktop"
3434

3535
# Install the icon files using name and resolutions

0 commit comments

Comments
 (0)