]> dev.renevier.net Git - syj.git/blobdiff - scripts/updateopenlayers.sh
fixes init.sh script (and do not put openlayers in submodule)
[syj.git] / scripts / updateopenlayers.sh
diff --git a/scripts/updateopenlayers.sh b/scripts/updateopenlayers.sh
new file mode 100755 (executable)
index 0000000..0f99aac
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+if [ -d public/openlayers ]; then
+    cd public/openlayers
+    git checkout master
+    git pull -u
+    git checkout syj
+    git rebase master
+else
+    git clone http://github.com/ccnmtl/openlayers.git public/openlayers
+    cd public/openlayers
+    git checkout -b syj
+    git am ../../patches/openlayers/000*
+fi