serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1757829 - /serf/trunk/dist.sh
Date Fri, 26 Aug 2016 12:16:25 GMT
Author: rhuijben
Date: Fri Aug 26 12:16:25 2016
New Revision: 1757829

URL: http://svn.apache.org/viewvc?rev=1757829&view=rev
Log:
* dist.sh
  Don't error out on versions like 1.3.9-pre1.

Modified:
    serf/trunk/dist.sh

Modified: serf/trunk/dist.sh
URL: http://svn.apache.org/viewvc/serf/trunk/dist.sh?rev=1757829&r1=1757828&r2=1757829&view=diff
==============================================================================
--- serf/trunk/dist.sh (original)
+++ serf/trunk/dist.sh Fri Aug 26 12:16:25 2016
@@ -48,7 +48,7 @@ actual_version="${major}.${minor}.${patc
 
 cd "${work}"
 
-if test "${version}" != "trunk" -a "${version}" != "${actual_version}"; then
+if test "${version}" != "trunk" -a "${version%%-*}" != "${actual_version}"; then
   echo "ERROR: exported version '${actual_version}' does not match '${version}'"
   exit 1
 fi



Mime
View raw message