Skip to content

Commit 5e8ea7b

Browse files
committed
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.
1 parent 13fbea2 commit 5e8ea7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/linux/processing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ then
108108
else
109109
# Start Processing in the same directory as this script
110110
if [ "$1" ]; then
111-
SKETCH=`readlink -f $1`
111+
SKETCH=`readlink -f "$1"`
112112
else
113113
SKETCH=
114114
fi

0 commit comments

Comments
 (0)