From cf4aaf92d672e03f5d53078cdfe6ea60ba0c1c0c Mon Sep 17 00:00:00 2001 From: liguoqiang <liguoqiang@rd.tuan800.com> Date: Thu, 9 Jan 2014 00:34:53 +0800 Subject: [PATCH] fix make-distribution.sh show version: command not found --- make-distribution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- GitLab