fix to add sketches to command line for processing on linux (bug #1549)

This commit is contained in:
benfry
2010-04-28 21:18:31 +00:00
parent 837fdb33d0
commit b0cdc657ae
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -75,6 +75,8 @@ JDKDIR=`readlink -f "$APPDIR/java"`
make_jdkcp "$JDKDIR"
log SUCCESS
SKETCH=`readlink -f $1`
# Local JDK found?
if [ $SUCCESS -ne 1 ]; then
# No, try using the preferred system JRE/JDK (if any)
@@ -97,4 +99,4 @@ log PATH
# Start Processing in the same directory as this script
cd "$APPDIR"
java processing.app.Base &
java processing.app.Base "$SKETCH" &