Usermode/ld-acess - Implemented R_836_COPY and R_X86_64_COPY
[tpg/acess2.git] / MakeReleaseSet
1 #!/bin/sh
2 rm -rf Dist
3 if [ $# -ge 1 ]; then
4         ARCH=$1
5 else
6         ARCH=i386
7 fi
8 mkdir -p Releases/
9 BUILD_DIST=y ARCH=$ARCH make clean all-install
10 tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_bin.tar.gz Dist/$ARCH Dist/Acess2.$ARCH.gz
11 mdeltree b:/Acess2
12 mcopy -s Dist/$ARCH/ b:/Acess2
13 mcopy Dist/Acess2* b:/Acess2/Acess2.gz
14 gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}.img.gz

UCC git Repository :: git.ucc.asn.au