Improved packaging script

This commit is contained in:
Jérôme Schneider 2012-07-23 23:06:54 +02:00
parent 0dd6adfce3
commit 84db60cb1e

View file

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