From 5b81b02f02bd79e7932b388e1db90e95f8994bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81ro=CC=82me=20Schneider?= Date: Tue, 24 Jul 2012 22:52:28 +0200 Subject: [PATCH] flat package builder is now tagging Core/Distrib.php with the adequate PROJECT_PACKAGE (flat) Former-commit-id: 97e423e28d29a0d0c629b2be043092b01295e900 --- CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 d71c574..436ea73 100755 --- a/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh +++ b/CoreVersions/0.2.0/Frameworks/Baikal/Scripts/package-flat.sh @@ -9,7 +9,6 @@ echo "#" echo "#" BRANCH="master" -TARGETFILE="/tmp/package.zip" SRCDIR="../../../../" TEMPDIR="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`-temp" TEMPDIRDEREFERENCE="/tmp/baikal-flat-`date +%Y-%m-%d-%H-%M-%S`" @@ -60,7 +59,9 @@ mv html/.htaccess . rm -Rf html # Tagging Distrib -cat Core/Distrib.php | sed -e "s/\"regular\"/\"flat\"/g" > Core/Distrib.php +cat Core/Distrib.php | sed -e "s/\"regular\"/\"flat\"/g" > Core/Distrib2.php && \ +rm -f Core/Distrib.php && \ +mv Core/Distrib2.php Core/Distrib.php # Displaying result echo "# "$TEMPDIR