Fixed parsing of m1 versions

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@405603 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-05-10 02:52:10 +00:00
parent dd115962b8
commit 40cc785be4
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ BUNDLE=tmp.jar
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