mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user