We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1b435 commit 9f72443Copy full SHA for 9f72443
1 file changed
packaging/centos63/package.sh
@@ -40,7 +40,7 @@ if [ -n "$1" ] ; then
40
fi
41
42
43
-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]\.'`
44
if echo $VERSION | grep SNAPSHOT ; then
45
REALVER=`echo $VERSION | cut -d '-' -f 1`
46
DEFVER="-D_ver $REALVER"
0 commit comments