From 9896430b13769ae0e5771ada898441cb2bb773d3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Jan 2006 08:01:50 +0000 Subject: script to generate tarballs --- toolchain/elf2flt/elf2flt/.cvsignore | 1 + toolchain/elf2flt/elf2flt/maketarball.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100755 toolchain/elf2flt/elf2flt/maketarball.sh (limited to 'toolchain') diff --git a/toolchain/elf2flt/elf2flt/.cvsignore b/toolchain/elf2flt/elf2flt/.cvsignore index 7cf4be52f..18cff9ae1 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 000000000..10148608a --- /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 -- cgit v1.2.3