diff --git a/maven-meeper/src/bin/deploy-bundle b/maven-meeper/src/bin/deploy-bundle index 90965bb9f5..0eb8655bbc 100755 --- a/maven-meeper/src/bin/deploy-bundle +++ b/maven-meeper/src/bin/deploy-bundle @@ -46,7 +46,7 @@ echo $BUNDLE then version=$VERSION else - version=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` + version=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` if [ -z $version ] then @@ -54,18 +54,18 @@ echo $BUNDLE fi fi - artifactId=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` + artifactId=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` if [ -z $artifactId ] then - artifactId=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` + artifactId=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` fi if [ ! -z $GROUPID ] then groupId=${GROUPID} else - groupId=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` + groupId=`cat ${POM} | tr '\n' ' ' | sed 's#.*##' | sed 's#.*##' | grep '' | sed -e 's#^.*##;s#.*$##'` if [ -z $groupId ] then