Skip to content
Snippets Groups Projects
Commit c52507d2 authored by John Hodge's avatar John Hodge
Browse files

MakeReleaseSet - Fix collision for per-platform releases

parent 63852918
No related merge requests found
...@@ -8,8 +8,10 @@ fi ...@@ -8,8 +8,10 @@ fi
if [ $# -ge 2 ]; then if [ $# -ge 2 ]; then
PLATFORM=$2 PLATFORM=$2
PSUFFIX=-$2
else else
PLATFORM=default PLATFORM=default
PSUFFIX=""
fi fi
mkdir -p Releases/ mkdir -p Releases/
...@@ -22,5 +24,5 @@ tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_ ...@@ -22,5 +24,5 @@ tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_
IMGNAME=AcessRelease.img IMGNAME=AcessRelease.img
./Tools/BootFloppy/MakeDiskImage $IMGNAME ./Tools/BootFloppy/MakeDiskImage $IMGNAME
mcopy -i $IMGNAME -s Dist/$ARCH/ ::/Acess2 mcopy -i $IMGNAME -s Dist/$ARCH/ ::/Acess2
mcopy -i $IMGNAME Dist/Acess2* ::/Acess2/Acess2.gz mcopy -i $IMGNAME Dist/Acess2.$ARCH$PSUFFIX.gz ::/Acess2/Acess2.gz
gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}.img.gz gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}$PSUFFIX.img.gz
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment