aboutsummaryrefslogtreecommitdiffstats
path: root/build-tools/linux-i586
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2006-10-03 22:49:56 +0000
committerKevin Rushforth <[email protected]>2006-10-03 22:49:56 +0000
commit4cea6bc0a5a520de1053e4031bd26f4eb15e81f5 (patch)
tree83b5c61068ba07413e7e481a904e021b95a29abf /build-tools/linux-i586
parent3d6820eb37d7bcc7490790105186081c9d39ec89 (diff)
Updated build files to build pre-release self-extracting shell-archives for UNIX
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@707 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'build-tools/linux-i586')
-rw-r--r--build-tools/linux-i586/script1.txt4
-rw-r--r--build-tools/linux-i586/script2.txt56
-rwxr-xr-xbuild-tools/linux-i586/unzipsfxbin0 -> 51400 bytes
3 files changed, 60 insertions, 0 deletions
diff --git a/build-tools/linux-i586/script1.txt b/build-tools/linux-i586/script1.txt
new file mode 100644
index 0000000..05d4088
--- /dev/null
+++ b/build-tools/linux-i586/script1.txt
@@ -0,0 +1,4 @@
+#!/bin/sh
+PATH=/usr/bin:/bin
+more <<"EOF"
+
diff --git a/build-tools/linux-i586/script2.txt b/build-tools/linux-i586/script2.txt
new file mode 100644
index 0000000..2e6a0d2
--- /dev/null
+++ b/build-tools/linux-i586/script2.txt
@@ -0,0 +1,56 @@
+
+EOF
+agreed=
+while [ x$agreed = x ]; do
+ echo
+ echo "Do you agree to the above license terms? [yes or no] "
+ read reply leftover
+ case $reply in
+ y* | Y*)
+ agreed=1;;
+ n* | n*)
+ echo "If you don't agree to the license you can't install this sofware";
+ exit 1;;
+ esac
+done
+if [ ! -w `pwd` ] ; then
+ echo "You do not have write permission to `pwd`"
+ echo "Java 3D installation failed"
+ exit 1
+fi
+outname=install.sfx.$$
+echo "Unpacking..."
+tail -n +@LINECOUNT@ $0 > $outname
+if [ -x /usr/bin/sum ] ; then
+ echo "Checksumming..."
+
+ sum=`/usr/bin/sum $outname`
+ index=1
+ for s in $sum
+ do
+ case $index in
+ 1) sum1=$s;
+ index=2;
+ ;;
+ 2) sum2=$s;
+ index=3;
+ ;;
+ esac
+ done
+ if expr $sum1 != @SUM1@ || expr $sum2 != @SUM2@ ; then
+ echo "The download file appears to be corrupted. Please refer"
+ echo "to the Troubleshooting section of the Installation"
+ echo "Instructions on the download page for more information."
+ echo "Please do not attempt to install this archive file."
+ rm -f $outname
+ exit 1
+ fi
+else
+ echo "Can't find /usr/bin/sum to do checksum. Continuing anyway."
+fi
+echo "Extracting..."
+chmod u+x $outname
+./$outname
+rm -f $outname
+echo "Done."
+exit 0
diff --git a/build-tools/linux-i586/unzipsfx b/build-tools/linux-i586/unzipsfx
new file mode 100755
index 0000000..00c946c
--- /dev/null
+++ b/build-tools/linux-i586/unzipsfx
Binary files differ