From 033ac2d680165a5201c49d6766aa7178e8cdc246 Mon Sep 17 00:00:00 2001 From: klump Date: Thu, 10 May 2012 15:07:17 +0300 Subject: [PATCH] The arduino script can now handle an appdir with spaces (/home/user/Arduino IDE). Without that fix I got a really strange error: 'Error: Could not find or load main class processing.app.Base' and the IDE refused to start. This fixed it. --- build/linux/dist/arduino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/linux/dist/arduino b/build/linux/dist/arduino index d371e768ab4..8e985c41979 100755 --- a/build/linux/dist/arduino +++ b/build/linux/dist/arduino @@ -1,8 +1,8 @@ #!/bin/sh -APPDIR="$(dirname -- $(readlink -f -- "${0}") )" +APPDIR=$(dirname -- "$(readlink -f -- "${0}")" ) -cd $APPDIR +cd "$APPDIR" for LIB in \ java/lib/rt.jar \