script to generate tarballs
This commit is contained in:
parent
604ce1587b
commit
9896430b13
@ -1,2 +1,3 @@
|
||||
.cvsignore
|
||||
.svn
|
||||
maketarball.sh
|
||||
|
12
toolchain/elf2flt/elf2flt/maketarball.sh
Executable file
12
toolchain/elf2flt/elf2flt/maketarball.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
cvs_stamp=$(cut -d/ -f4 CVS/Entries | sort | tail -n 1)
|
||||
stamp=$(date +%Y%m%d --date="${cvs_stamp}")
|
||||
|
||||
p="elf2flt-${stamp}"
|
||||
rm -f elf2flt-*.tar.bz2
|
||||
mkdir ../${p}
|
||||
cp -r * ../${p}/ || exit 1
|
||||
tar jcf ${p}.tar.bz2 --exclude .svn -C .. ${p}
|
||||
rm -r ../${p} || exit 1
|
||||
du -b ${p}.tar.bz2
|
Loading…
Reference in New Issue
Block a user