mirror of https://github.com/apache/maven.git
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:
parent
dd115962b8
commit
40cc785be4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue