Author: cazfi
Date: Tue Apr 25 18:40:28 2017
New Revision: 35292

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

See hrm Feature #654688

Modified:
    branches/S2_6/win32/installer/cleanup_checkout.sh
    branches/S2_6/win32/installer_msys2/cleanup_checkout.sh

Modified: branches/S2_6/win32/installer/cleanup_checkout.sh
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer/cleanup_checkout.sh?rev=35292&r1=35291&r2=35292&view=diff
==============================================================================
--- branches/S2_6/win32/installer/cleanup_checkout.sh   (original)
+++ branches/S2_6/win32/installer/cleanup_checkout.sh   Tue Apr 25 18:40:28 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: branches/S2_6/win32/installer_msys2/cleanup_checkout.sh
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/win32/installer_msys2/cleanup_checkout.sh?rev=35292&r1=35291&r2=35292&view=diff
==============================================================================
--- branches/S2_6/win32/installer_msys2/cleanup_checkout.sh     (original)
+++ branches/S2_6/win32/installer_msys2/cleanup_checkout.sh     Tue Apr 25 
18:40:28 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