Author: cazfi
Date: Tue Apr 25 18:40:09 2017
New Revision: 35290

URL: http://svn.gna.org/viewcvs/freeciv?rev=35290&view=rev
Log:
Support VERSION_REVTYPE git builds on cleanup_checkout.sh

See hrm Feature #654688

Modified:
    trunk/windows/installer_legacy/cleanup_checkout.sh
    trunk/windows/installer_msys2/cleanup_checkout.sh

Modified: trunk/windows/installer_legacy/cleanup_checkout.sh
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer_legacy/cleanup_checkout.sh?rev=35290&r1=35289&r2=35290&view=diff
==============================================================================
--- trunk/windows/installer_legacy/cleanup_checkout.sh  (original)
+++ trunk/windows/installer_legacy/cleanup_checkout.sh  Tue Apr 25 18:40:09 2017
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-if test "x$VERSION_REVTYPE" = "xsvn" ; then
+if test "x$VERSION_REVTYPE" = "xgit" ; then
+    git checkout $1/translations
+elif test "x$VERSION_REVTYPE" = "xsvn" ; then
     cd $1/translations
     svn revert -R .
 fi

Modified: trunk/windows/installer_msys2/cleanup_checkout.sh
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/windows/installer_msys2/cleanup_checkout.sh?rev=35290&r1=35289&r2=35290&view=diff
==============================================================================
--- trunk/windows/installer_msys2/cleanup_checkout.sh   (original)
+++ trunk/windows/installer_msys2/cleanup_checkout.sh   Tue Apr 25 18:40:09 2017
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-if test "x$VERSION_REVTYPE" = "xsvn" ; then
+if test "x$VERSION_REVTYPE" = "xgit" ; then
+    git checkout $1/translations
+elif test "x$VERSION_REVTYPE" = "xsvn" ; then
     cd $1/translations
     svn revert -R .
 fi


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to