From: Mike Frysinger Date: Fri, 13 Jan 2006 08:01:50 +0000 (-0000) Subject: script to generate tarballs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9896430b13769ae0e5771ada898441cb2bb773d3;p=buildroot.git script to generate tarballs --- diff --git a/toolchain/elf2flt/elf2flt/.cvsignore b/toolchain/elf2flt/elf2flt/.cvsignore index 7cf4be52f6..18cff9ae11 100644 --- a/toolchain/elf2flt/elf2flt/.cvsignore +++ b/toolchain/elf2flt/elf2flt/.cvsignore @@ -1,2 +1,3 @@ .cvsignore .svn +maketarball.sh diff --git a/toolchain/elf2flt/elf2flt/maketarball.sh b/toolchain/elf2flt/elf2flt/maketarball.sh new file mode 100755 index 0000000000..10148608aa --- /dev/null +++ b/toolchain/elf2flt/elf2flt/maketarball.sh @@ -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