From b0cdc657ae30ea80fc795c2c10b9b56a44ccf7e9 Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 28 Apr 2010 21:18:31 +0000 Subject: [PATCH] fix to add sketches to command line for processing on linux (bug #1549) --- build/linux/processing | 4 +++- todo.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build/linux/processing b/build/linux/processing index 43b1593ca..7557c0d6f 100755 --- a/build/linux/processing +++ b/build/linux/processing @@ -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" & diff --git a/todo.txt b/todo.txt index 37911a5c0..41cf62ce6 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,6 @@ 0185 pde +X add option to launch a sketch directly w/ linux +X http://dev.processing.org/bugs/show_bug.cgi?id=1549 _ create default tools folder (just like libraries)