aboutsummaryrefslogtreecommitdiff
path: root/make-distribution.sh
diff options
context:
space:
mode:
authorliguoqiang <liguoqiang@rd.tuan800.com>2014-01-09 00:34:53 +0800
committerliguoqiang <liguoqiang@rd.tuan800.com>2014-01-09 00:34:53 +0800
commitcf4aaf92d672e03f5d53078cdfe6ea60ba0c1c0c (patch)
tree5f92c329cbdafa230609681a506a3d3b927b9e0a /make-distribution.sh
parent6eef78d769379b98a1fa6d4f2fa606216e5063a6 (diff)
downloadspark-cf4aaf92d672e03f5d53078cdfe6ea60ba0c1c0c.tar.gz
spark-cf4aaf92d672e03f5d53078cdfe6ea60ba0c1c0c.tar.bz2
spark-cf4aaf92d672e03f5d53078cdfe6ea60ba0c1c0c.zip
fix make-distribution.sh show version: command not found
Diffstat (limited to 'make-distribution.sh')
-rwxr-xr-xmake-distribution.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-distribution.sh b/make-distribution.sh
index 1a3a5d0209..e6b5956d1e 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."