git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f830c3b
)
Fixes to MakeReleaseSet script
author
John Hodge
<
[email protected]
>
Thu, 13 Oct 2011 13:44:06 +0000
(21:44 +0800)
committer
John Hodge
<
[email protected]
>
Thu, 13 Oct 2011 13:44:06 +0000
(21:44 +0800)
MakeReleaseSet
patch
|
blob
|
history
diff --git
a/MakeReleaseSet
b/MakeReleaseSet
index
117af81
..
b150e70
100755
(executable)
--- a/
MakeReleaseSet
+++ b/
MakeReleaseSet
@@
-1,14
+1,14
@@
#!/bin/sh
rm -rf Dist
if [ $# -ge 1 ]; then
#!/bin/sh
rm -rf Dist
if [ $# -ge 1 ]; then
- for arch in $*; do
- echo $arch
- BUILD_DIST=y ARCH=$arch make clean install
- done
+ ARCH=$1
else
else
- BUILD_DIST=y make clean install
+ ARCH=i386
fi
fi
-tar -zcf Acess2_latest_bin.tar.gz Dist/*
+mkdir -p Releases/
+BUILD_DIST=y ARCH=$ARCH make clean all-install
+tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_bin.tar.gz Dist/$ARCH Dist/Acess2.$ARCH.gz
mdeltree b:/Acess2
mdeltree b:/Acess2
-mcopy -s Dist/ b:/Acess2
-gzip -c AcessRelease.img > Acess2_latest.img.gz
+mcopy -s Dist/$ARCH/ b:/Acess2
+mcopy Dist/Acess2* b:/Acess2/Acess2.gz
+gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}.img.gz
UCC
git Repository :: git.ucc.asn.au