]> dev.renevier.net Git - syp.git/commitdiff
reset openlayers directory to its original state at the end of build.sh
authorarno <arenevier@fdn.fr>
Fri, 7 Aug 2009 14:57:49 +0000 (16:57 +0200)
committerarno <arenevier@fdn.fr>
Sat, 8 Aug 2009 10:55:00 +0000 (12:55 +0200)
build.sh

index 6cfb0692378d97e715f14ed72b5838ecec6ac250..3932ab17178f23417ce4ad5852d656e16a59ca41 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -66,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