Updated Branches: refs/heads/master 56ebfeaa5 -> 04d83fc37
fix make-distribution.sh show version: command not found Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/cf4aaf92 Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/cf4aaf92 Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/cf4aaf92 Branch: refs/heads/master Commit: cf4aaf92d672e03f5d53078cdfe6ea60ba0c1c0c Parents: 6eef78d Author: liguoqiang <liguoqi...@rd.tuan800.com> Authored: Thu Jan 9 00:34:53 2014 +0800 Committer: liguoqiang <liguoqi...@rd.tuan800.com> Committed: Thu Jan 9 00:34:53 2014 +0800 ---------------------------------------------------------------------- make-distribution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/cf4aaf92/make-distribution.sh ---------------------------------------------------------------------- diff --git a/make-distribution.sh b/make-distribution.sh index 1a3a5d0..e6b5956 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -44,7 +44,7 @@ DISTDIR="$FWDIR/dist" # Get version from SBT export TERM=dumb # Prevents color codes in SBT output -VERSIONSTRING=$FWDIR/sbt/sbt "show version" +VERSIONSTRING=$($FWDIR/sbt/sbt "show version") if [ $? == -1 ] ;then echo -e "You need sbt installed and available on your path."