aboutsummaryrefslogtreecommitdiffstats
path: root/build-tools/genzip
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-04-07 10:29:15 -0700
committerHarvey Harrison <[email protected]>2013-04-07 10:29:15 -0700
commit60941a47198c40a975256659648867d14a0fc57b (patch)
tree7f94402a93bfcd17f7b41a55c18df3823ec688cf /build-tools/genzip
parentfffb166d9c59d610ecee45a2f099e02c91db2bf1 (diff)
j3dcore: kill off some of the old build scripts from the native builds
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'build-tools/genzip')
-rw-r--r--build-tools/genzip54
1 files changed, 0 insertions, 54 deletions
diff --git a/build-tools/genzip b/build-tools/genzip
deleted file mode 100644
index 85b0832..0000000
--- a/build-tools/genzip
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-# usage: genzip <archive-name> <license-file> <file> [ <file> ... ]
-
-tmpscr1=script1.$$
-tmpscr2=script2.$$
-
-archive=$1
-shift
-license=$1
-shift
-
-echo "zip'ing..."
-
-zip -r $archive.zip $*
-
-cat ../unzipsfx $archive.zip > $archive
-
-echo "Checksumming..."
-
-sum=`/usr/bin/sum $archive`
-index=1
-for s in $sum
-do
- case $index in
- 1) sum1=$s;
- index=2;
- ;;
- 2) sum2=$s;
- index=3;
- ;;
- esac
-done
-echo sum = $sum1 $sum2
-
-cat ../script1.txt $license ../script2.txt > $tmpscr1
-
-linecount=`/usr/bin/wc -l < $tmpscr1`
-linecount=$(($linecount + 1))
-echo linecount = $linecount
-
-echo "Generating .bin script..."
-
-sed -e s/@LINECOUNT@/$linecount/ -e s/@SUM1@/$sum1/ -e s/@SUM2@/$sum2/ < $tmpscr1 > $tmpscr2
-cat $tmpscr2 $archive > ../$archive.bin
-chmod +x ../$archive.bin
-
-echo "Cleaning up..."
-rm -f $tmpscr1
-rm -f $tmpscr2
-rm -f $archive.zip
-rm -f $archive
-
-echo "Done"