]> dev.renevier.net Git - syp.git/blobdiff - build.sh
add German lang file from Openlayers
[syp.git] / build.sh
index 82aacece35eb54414b3dad2982ee8bb67787d5be..f78d47cd06a70cef84ca674bebc3cf4e9a84325f 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
 
 set -e
 
-PROJVERS=0.2
+PROJVERS=0.3
 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/