Bugfixes for source script.
This commit is contained in:
parent
62561d78fc
commit
809b8290d9
6
dist/sourcescript
vendored
6
dist/sourcescript
vendored
@ -13,7 +13,7 @@
|
|||||||
# Current
|
# Current
|
||||||
DESCR=`git describe --tags`
|
DESCR=`git describe --tags`
|
||||||
|
|
||||||
if [ "x$1" = "x" -o "x$2" = "x" ]
|
if [ "x$1" = "x" ]
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
echo "Scyther source distribution generator."
|
echo "Scyther source distribution generator."
|
||||||
@ -38,7 +38,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Note without extension, this will added later
|
# Note without extension, this will added later
|
||||||
ARCHNAME=scyther-src-$TAG
|
ARCHNAME="scyther-src_$TAG"
|
||||||
|
|
||||||
# Directory locations
|
# Directory locations
|
||||||
CURDIR=`pwd`
|
CURDIR=`pwd`
|
||||||
@ -64,7 +64,7 @@ echo "" >>$BUILDDIR/src/version.h
|
|||||||
|
|
||||||
# Compress the whole thing into an archive
|
# Compress the whole thing into an archive
|
||||||
cd $TMPDIR
|
cd $TMPDIR
|
||||||
DESTARCH=$DESTFILE.tgz
|
DESTARCH=$DESTDIR/$ARCHNAME.tgz
|
||||||
rm -f $DESTARCH
|
rm -f $DESTARCH
|
||||||
tar zcvf $DESTARCH $ARCHNAME
|
tar zcvf $DESTARCH $ARCHNAME
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user