From bf5384b48ad82e3487329bb7987bd5a49d4bf330 Mon Sep 17 00:00:00 2001 From: arno Date: Fri, 7 Aug 2009 16:57:49 +0200 Subject: [PATCH] reset openlayers directory to its original state at the end of build.sh --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 6cfb069..3932ab1 100755 --- 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 -- 2.39.2