diff --git a/build/linux/dist/install.sh b/build/linux/dist/install.sh index 17c2b090f60..0fa79ea5003 100755 --- a/build/linux/dist/install.sh +++ b/build/linux/dist/install.sh @@ -29,7 +29,7 @@ xdg_install_f() { TMP_DIR=`mktemp --directory` # Create *.desktop file using the existing template file - sed -e "s,,${SCRIPT_PATH}/arduino,g" \ + sed -e "s,,\"${SCRIPT_PATH}/arduino\",g" \ -e "s,,${RESOURCE_NAME},g" "${SCRIPT_PATH}/lib/desktop.template" > "${TMP_DIR}/${RESOURCE_NAME}.desktop" # Install the icon files using name and resolutions