Quote ${maven2} where necessary

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

View File

@ -108,7 +108,7 @@ BUNDLE=tmp.jar
maven2=`cat ${POM} | tr '\n' ' ' | sed -e 's#^.*<modelVersion>##;s#</modelVersion>.*$##'`
echo
if [ ! -z ${maven2} ]
if [ ! -z "${maven2}" ]
then
echo " ========= MAVEN 2 ========= "
fi
@ -150,7 +150,7 @@ BUNDLE=tmp.jar
mkdir -p $REPODIR/${groupId}/poms
cp -i ${artifactId}-${version}.pom $REPODIR/${groupId}/poms
if [ ! -z ${maven2} ]
if [ ! -z "${maven2}" ]
then
cp -i ${artifactId}-${version}.pom ${m2dir}
md5sum ${m2dir}/${artifactId}-${version}.pom > ${m2dir}/${artifactId}-${version}.pom.md5