Skip to content

Commit 9f72443

Browse files
author
John Kinsella
committed
CLOUDSTACK-6123: Ensuring no color in grep output
1 parent 2b1b435 commit 9f72443

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/centos63/package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [ -n "$1" ] ; then
4040
fi
4141

4242

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

0 commit comments

Comments
 (0)