You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2006/05/10 04:52:13 UTC

svn commit: r405603 - /maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Author: carlos
Date: Tue May  9 19:52:10 2006
New Revision: 405603

URL: http://svn.apache.org/viewcvs?rev=405603&view=rev
Log:
Fixed parsing of m1 versions

Modified:
    maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Modified: maven/components/trunk/maven-meeper/src/bin/deploy-bundle
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-meeper/src/bin/deploy-bundle?rev=405603&r1=405602&r2=405603&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/deploy-bundle (original)
+++ maven/components/trunk/maven-meeper/src/bin/deploy-bundle Tue May  9 19:52:10 2006
@@ -77,7 +77,7 @@
 
     if [ -z $version ]
     then
-      version=`grep currentVersion ${POM} | sed -e 's/^ *//;s/<currentVersion>//;s/<\/currentVersion>//'`
+      version=`grep currentVersion ${POM} | sed -e 's#^.*<currentVersion>##;s#</currentVersion>.*$##'`
     fi
   fi