X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=3932ab17178f23417ce4ad5852d656e16a59ca41;hp=764f1c6d708bf249107f78f7c4ff09020656f82c;hb=7c5d2d3098b2c4e42f924b6e3d1afec9b5e0b742;hpb=9acc365249b5e630da6b5cdd23e3a8015f39ddc7 diff --git a/build.sh b/build.sh index 764f1c6..3932ab1 100755 --- a/build.sh +++ b/build.sh @@ -30,13 +30,10 @@ cp -RLp openlayers/build/OpenLayers.js $DESTDIR/openlayers/ # openlayers images mkdir $DESTDIR/openlayers/img for file in east-mini.png \ - marker-gold.png \ north-mini.png \ blank.gif \ west-mini.png \ zoom-plus-mini.png \ - marker-blue.png \ - marker-green.png \ south-mini.png \ zoom-minus-mini.png \ zoom-world-mini.png; do @@ -69,3 +66,7 @@ cd $BUILDDIR tar -pczf ${PROJNAME}_${PROJVERS}.tar.gz ${PROJNAME}-${PROJVERS} zip -r ${PROJNAME}_${PROJVERS}.zip ${PROJNAME}-${PROJVERS} cd .. + +if [ -d .git/ ] && which git > /dev/null; then + git checkout openlayers +fi