working... working...

This commit is contained in:
benfry
2008-09-20 03:05:21 +00:00
parent 4713069755
commit 2818cbb631
2 changed files with 12 additions and 7 deletions

View File

@@ -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

View File

@@ -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 $*