From 00449a6fba02368c19ce3a3e250d0aca5694cf0a Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Sat, 17 Aug 2013 22:12:24 +0200 Subject: [PATCH] Add missing double quotes to readlink call. Opening paths with spaces now works. I was trying to make it possible to double click on .pde files on Ubuntu 13.04 following http://forum.processing.org/topic/ubuntu-12-10-launch-pde-files-from-nautilus I noticed that files found in paths that include spaces would not open. I fixed it by adding double quotes to a readlink call at the end of the Processing launcher script. Other similar calls to readlink in the same file already included double quotes. --- build/linux/processing | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/linux/processing b/build/linux/processing index dcd1c0017..14708c1ed 100755 --- a/build/linux/processing +++ b/build/linux/processing @@ -108,7 +108,7 @@ then else # Start Processing in the same directory as this script if [ "$1" ]; then - SKETCH=`readlink -f $1` + SKETCH=`readlink -f "$1"` else SKETCH= fi