flat package builder is now tagging Core/Distrib.php with the adequate PROJECT_PACKAGE (flat)

Former-commit-id: 97e423e28d
This commit is contained in:
Jérôme Schneider 2012-07-24 22:52:28 +02:00
parent 49c105eac2
commit 5b81b02f02

View file

@ -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