fix Linux readlink error when running processing-java (issue #1578)

This commit is contained in:
Ben Fry
2013-02-03 12:28:11 -05:00
parent d9b10ceca0
commit c075ba52d2
2 changed files with 18 additions and 12 deletions
+9 -9
View File
@@ -98,14 +98,6 @@ log CLASSPATH
export PATH="$JDKDIR/bin":"$PATH"
log PATH
# Start Processing in the same directory as this script
if [ "$1" ]; then
SKETCH=`readlink -f $1`
else
SKETCH=
fi
cd "$APPDIR"
current_name=`basename $0`
cmd_name='processing-java'
@@ -113,5 +105,13 @@ if [ $current_name = $cmd_name ]
then
java processing.mode.java.Commander "$@"
else
java processing.app.Base "$SKETCH" &
# Start Processing in the same directory as this script
if [ "$1" ]; then
SKETCH=`readlink -f $1`
else
SKETCH=
fi
cd "$APPDIR"
java processing.app.Base "$SKETCH" &
fi
+9 -3
View File
@@ -61,6 +61,13 @@ X fix "Bounds out of range" when outdenting a block of text
X Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Bounds out of range: 5374,5376 [5375]
X at processing.app.syntax.JEditTextArea.select(JEditTextArea.java:1214)
X at processing.app.Editor.handleIndentOutdent(Editor.java:1819)
X play button (and others) no longer highlighting
X http://code.google.com/p/processing/issues/detail?id=688
X run button not properly unhighlighting
X patch from John Li (jli@circularly.org)
X readlink error when running processing-java
X patch from richard@crash.net.nz
X http://code.google.com/p/processing/issues/detail?id=1578
manindra
M bug that was causing the Debugger to point to wrong break point line numbers
@@ -96,6 +103,7 @@ _ "To use this library, you must use the 32-bit version of Processing."
2.0 FINAL / library/tool/mode manager cleanup
_ boogers still being left around
_ make already installed libraries distinguishable in the list
_ http://code.google.com/p/processing/issues/detail?id=1212
_ excessive CPU usage of PDE after using library manager
@@ -606,9 +614,7 @@ _ http://code.google.com/p/processing/issues/detail?id=174
PDE / Editor Toolbar (Buttons)
_ play button (and others) no longer highlighting
_ http://code.google.com/p/processing/issues/detail?id=688
_ run button not properly unhighlighting
_ run button issues (unconfirmed)
_ does it unhighlight after compile or runtime errors?
_ also when using draw() instead of loop()
_ applet needs to notify runner that it has terminated