X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=216a2ad41fe38127adf0cea6e00cc46415c4925e;hp=a297b1b537ab72d4aff871284104e222d3b5da5b;hb=4414f33ecd172ea188660a45c8d8fb3469416d4f;hpb=bd5438d61fd67d910da4183d4870366961a97b4a diff --git a/build.sh b/build.sh index a297b1b..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,9 +13,11 @@ 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 wizard.*php news.php api.php items.php logout.php $DESTDIR/ +cp -p admin.*php index.*php upgrade.*php install.*php news.php api.php items.php logout.php $DESTDIR/ # media cp -RLp media/ $DESTDIR/ @@ -54,8 +56,8 @@ for file in $DESTDIR/js/jquery-*.min.js; do mv $file $DESTDIR/js/jquery-$jversion.js done -# copyright and readme files -cp -p license.txt README.txt COPYING.txt $DESTDIR/ +# copyright and readme and changes files +cp -p license.txt COPYING.txt README.txt CHANGES.txt $DESTDIR/ # creates upload directory mkdir -p $DESTDIR/upload/_thumbs