X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=216a2ad41fe38127adf0cea6e00cc46415c4925e;hp=82aacece35eb54414b3dad2982ee8bb67787d5be;hb=4414f33ecd172ea188660a45c8d8fb3469416d4f;hpb=b6cae6a5698c5d0655d921f78f0ccab470bf034c;ds=sidebyside diff --git a/build.sh b/build.sh index 82aacec..216a2ad 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -e -PROJVERS=0.2 +PROJVERS=0.4 PROJNAME=syp BUILDDIR=${1:-build} @@ -13,6 +13,8 @@ mkdir -p $DESTDIR # php includes cp -RLp inc/ $DESTDIR/ +# removes generated settings in case it exists +rm -f $DESTDIR/inc/settings.php # other php files cp -p admin.*php index.*php upgrade.*php install.*php news.php api.php items.php logout.php $DESTDIR/