From 2818cbb631392dec4e8e32d4dc7af154d0f13023 Mon Sep 17 00:00:00 2001 From: benfry Date: Sat, 20 Sep 2008 03:05:21 +0000 Subject: [PATCH] working... working... --- build/cmd/dist.sh | 14 +++++++++----- build/cmd/dist/processing | 5 +++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/build/cmd/dist.sh b/build/cmd/dist.sh index 879ff4a00..fa5081ffd 100755 --- a/build/cmd/dist.sh +++ b/build/cmd/dist.sh @@ -2,16 +2,20 @@ REVISION=`head -c 4 ../../todo.txt` -ARCH=`uname -m` -if [ $ARCH != "i686" ] +ARCH=`uname` +if [ $ARCH == "Darwin" ] then - echo At present, the Linux distribution can only be built on i686 \(32-bit\). - exit + PLATFORM=macosx +elif [ $ARCH == "Cygwin" ] +then + PLATFORM=windows +else + PLATFORM=linux fi ./make.sh -echo Creating linux distribution for revision $REVISION... +echo Creating command-line distribution for revision $REVISION... # remove any old boogers rm -rf processing diff --git a/build/cmd/dist/processing b/build/cmd/dist/processing index e02e551a3..dc245532b 100755 --- a/build/cmd/dist/processing +++ b/build/cmd/dist/processing @@ -1,7 +1,8 @@ #!/bin/sh APPDIR="$(dirname -- "${0}")" - + +# includes java/* in case a Java install is available for LIB in \ java/lib/rt.jar \ java/lib/tools.jar \ @@ -14,4 +15,4 @@ export CLASSPATH export PATH="${APPDIR}/java/bin:${PATH}" -java processing.app.Base +java processing.app.Commander $*