diff --git a/make-distribution.sh b/make-distribution.sh
index 1a3a5d0209ccf8a295338e26735dfac06b41408c..e6b5956d1e7e25efd0c5bb49cb6e549e0dc01f63 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."