From 9e5af08f7e586acffc7f90f825cd0042f88cc418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81ro=CC=82me=20Schneider?= Date: Mon, 23 Jul 2012 23:06:54 +0200 Subject: [PATCH] Improved packaging script Former-commit-id: 84db60cb1e8e3cac18cf92a3c31de39cd3b38aad --- CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh b/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh index a4397ee..0654dfc 100755 --- a/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh +++ b/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh @@ -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