From 809b8290d92344ff8cfd270f828209bfd948b798 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Mon, 22 Oct 2007 21:36:39 +0200 Subject: [PATCH] Bugfixes for source script. --- dist/sourcescript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/sourcescript b/dist/sourcescript index be08aff..ea48b54 100755 --- a/dist/sourcescript +++ b/dist/sourcescript @@ -13,7 +13,7 @@ # Current DESCR=`git describe --tags` -if [ "x$1" = "x" -o "x$2" = "x" ] +if [ "x$1" = "x" ] then echo echo "Scyther source distribution generator." @@ -38,7 +38,7 @@ else fi # Note without extension, this will added later -ARCHNAME=scyther-src-$TAG +ARCHNAME="scyther-src_$TAG" # Directory locations CURDIR=`pwd` @@ -64,7 +64,7 @@ echo "" >>$BUILDDIR/src/version.h # Compress the whole thing into an archive cd $TMPDIR -DESTARCH=$DESTFILE.tgz +DESTARCH=$DESTDIR/$ARCHNAME.tgz rm -f $DESTARCH tar zcvf $DESTARCH $ARCHNAME