Author: cazfi
Date: Tue Apr 25 18:40:16 2017
New Revision: 35291

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

See hrm Feature #654688

Modified:
    branches/S3_0/windows/installer_legacy/cleanup_checkout.sh
    branches/S3_0/windows/installer_msys2/cleanup_checkout.sh

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