diff --git a/build/linux/dist.sh b/build/linux/dist.sh index fe959b5c0..3b635853f 100755 --- a/build/linux/dist.sh +++ b/build/linux/dist.sh @@ -2,6 +2,13 @@ REVISION=`head -c 4 ../../todo.txt` +ARCH=`uname -m` +if [ $ARCH != "i686" ] +then + echo At present, the Linux distribution can only be built on i686 \(32-bit\). + exit +fi + ./make.sh echo Creating linux distribution for revision $REVISION... diff --git a/build/linux/make.sh b/build/linux/make.sh index 5bb62850a..56e833ec1 100755 --- a/build/linux/make.sh +++ b/build/linux/make.sh @@ -1,9 +1,6 @@ #!/bin/sh -ARCH=`uname -m` - - ### -- SETUP WORK DIR ------------------------------------------- if test -d work @@ -21,10 +18,10 @@ else cp ../../app/lib/jna.jar work/lib/ echo Extracting examples... -# unzip -q -d work/ ../shared/examples.zip + unzip -q -d work/ ../shared/examples.zip echo Extracting reference... -# unzip -q -d work/ ../shared/reference.zip + unzip -q -d work/ ../shared/reference.zip cp -r ../../net work/libraries/ cp -r ../../opengl work/libraries/ @@ -37,6 +34,7 @@ else install -m 755 dist/processing work/processing + ARCH=`uname -m` if [ $ARCH = "i686" ] then echo Extracting JRE...