From: John Hodge Date: Tue, 21 Jan 2014 11:09:29 +0000 (+0800) Subject: MakeReleaseSet - Fix collision for per-platform releases X-Git-Tag: rel0.15~4 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c52507d271683b26deded6fc2bb0a7e2850856ca;p=tpg%2Facess2.git MakeReleaseSet - Fix collision for per-platform releases --- diff --git a/MakeReleaseSet b/MakeReleaseSet index 4553a00e..04493380 100755 --- a/MakeReleaseSet +++ b/MakeReleaseSet @@ -8,8 +8,10 @@ fi if [ $# -ge 2 ]; then PLATFORM=$2 + PSUFFIX=-$2 else PLATFORM=default + PSUFFIX="" fi mkdir -p Releases/ @@ -22,5 +24,5 @@ tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_ IMGNAME=AcessRelease.img ./Tools/BootFloppy/MakeDiskImage $IMGNAME mcopy -i $IMGNAME -s Dist/$ARCH/ ::/Acess2 -mcopy -i $IMGNAME Dist/Acess2* ::/Acess2/Acess2.gz -gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}.img.gz +mcopy -i $IMGNAME Dist/Acess2.$ARCH$PSUFFIX.gz ::/Acess2/Acess2.gz +gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}$PSUFFIX.img.gz