Improved packaging script

Former-commit-id: 84db60cb1e
This commit is contained in:
Jérôme Schneider 2012-07-23 23:06:54 +02:00
parent acc6427324
commit 9e5af08f7e

View file

@ -16,7 +16,9 @@ TEMPDIRDEREFERENCE="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`"
# Export Project
mkdir $TEMPDIR
cd $SRCDIR
BASEDIR="`dirname $0`"
PATH_this="`cd $BASEDIR && cd $SRCDIR && pwd`/"
git archive $BRANCH | tar -x -C $TEMPDIR
# Dereferencig symlinks