CLOUDSTACK-6123: Ensuring no color in grep output

This commit is contained in:
John Kinsella 2014-02-15 21:26:40 -08:00
parent 2b1b4352bc
commit 9f72443bb1
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ if [ -n "$1" ] ; then
fi
VERSION=`(cd ../../; mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version) | grep '^[0-9]\.'`
VERSION=`(cd ../../; mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version) | grep --color=none '^[0-9]\.'`
if echo $VERSION | grep SNAPSHOT ; then
REALVER=`echo $VERSION | cut -d '-' -f 1`
DEFVER="-D_ver $REALVER"