Fix check for maven2 bundles

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@416677 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-06-23 11:34:21 +00:00
parent a0667fca74
commit fbf6fdf986
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ BUNDLE=tmp.jar
groupId=`echo ${groupId} | sed -e 's/ *$//'`
groupDir=`echo ${groupId} | sed -e 's/\./\//g'`
maven2=`cat ${POM} | tr '\n' ' ' | sed -e 's#^.*<modelVersion>##;s#</modelVersion>.*$##'`
maven2=`cat ${POM} | grep '<modelVersion>'`
echo
if [ ! -z "${maven2}" ]