From ff7567ecc2b9b1dc1603242e443e901c2bc7e3e6 Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 25 Nov 2005 20:08:28 +0000 Subject: [PATCH] add .tar.gz build git-svn-id: file:///home/svn/ljdump/trunk@8 7994a137-d0a5-da11-ade6-0050bffea3d9 --- build | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build b/build index ff7bd33..bc37860 100755 --- a/build +++ b/build @@ -1,6 +1,18 @@ #!/bin/sh VERSION=`grep Version ljdump.py | cut -d' ' -f3` + +DIR=ljdump-$VERSION +rm -rf $DIR +mkdir $DIR +cp ljdump.py ljdump.config.sample $DIR/ + +TARGZ=ljdump-$VERSION.tar.gz +rm $TARGZ +tar czf $TARGZ $DIR/* + ZIP=ljdump-$VERSION.zip rm $ZIP -zip $ZIP ljdump.py ljdump.config.sample +zip $ZIP $DIR/* + +rm -rf $DIR -- 2.39.5