Author: cazfi
Date: Mon May  9 14:55:36 2016
New Revision: 32628

URL: http://svn.gna.org/viewcvs/freeciv?rev=32628&view=rev
Log:
Allow builder to force freeciv version label to use.

See patch #7196

Modified:
    trunk/fc_version

Modified: trunk/fc_version
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/fc_version?rev=32628&r1=32627&r2=32628&view=diff
==============================================================================
--- trunk/fc_version    (original)
+++ trunk/fc_version    Mon May  9 14:55:36 2016
@@ -60,6 +60,10 @@
 
 FREECIV_DISTRIBUTOR=""
 
+if test "x$FREECIV_LABEL_FORCE" != "x" ; then
+  VERSION_LABEL=$(echo $FREECIV_LABEL_FORCE | sed "s/<base>/$VERSION_LABEL/g")
+fi
+
 if test x$VERSION_REVTYPE = xsvn && which svn > /dev/null ; then
   VERSION_REV="r$(LANG=C svn info 2>/dev/null | grep "^Revision: " | sed 
's/^Revision: //')"
 elif test x$VERSION_REVTYPE = xgit && which git > /dev/null ; then


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

Reply via email to