Repository: cloudstack Updated Branches: refs/heads/master 2b1b4352b -> 9f72443bb
CLOUDSTACK-6123: Ensuring no color in grep output Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9f72443b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9f72443b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9f72443b Branch: refs/heads/master Commit: 9f72443bb14688a7299ed74a6085163af300a7b6 Parents: 2b1b435 Author: John Kinsella <[email protected]> Authored: Sat Feb 15 21:26:40 2014 -0800 Committer: John Kinsella <[email protected]> Committed: Sat Feb 15 21:26:40 2014 -0800 ---------------------------------------------------------------------- packaging/centos63/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9f72443b/packaging/centos63/package.sh ---------------------------------------------------------------------- diff --git a/packaging/centos63/package.sh b/packaging/centos63/package.sh index 04b9258..bbd8eaa 100755 --- a/packaging/centos63/package.sh +++ b/packaging/centos63/package.sh @@ -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"
