X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=scripts%2Fupdateopenlayers.sh;fp=scripts%2Fupdateopenlayers.sh;h=0f99aacb812c736e4301fe03f123bde024c1f53f;hp=0000000000000000000000000000000000000000;hb=9714df1a97fe9f6c53a52ea0aaf3fcc090124992;hpb=d36500c8a1bb852d876ac387f31fec55d92d6789 diff --git a/scripts/updateopenlayers.sh b/scripts/updateopenlayers.sh new file mode 100755 index 0000000..0f99aac --- /dev/null +++ b/scripts/updateopenlayers.sh @@ -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