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

This commit is contained in:
Jérôme Schneider 2012-07-24 22:52:28 +02:00
parent f39cb23678
commit 97e423e28d

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