diff --git a/build/preprocess.sh b/build/preprocess.sh index 26c82f7f..c89dd0c8 100755 --- a/build/preprocess.sh +++ b/build/preprocess.sh @@ -25,10 +25,8 @@ # stripped Preprocessed, formated but without comments # Extract paper.js version from package.json -VERSION=`node -e "process.stdout.write(require('../package.json').version)"` - +VERSION=$(node -e "process.stdout.write(require('../package.json').version)") DATE=$(git log -1 --pretty=format:%ad) - COMMAND="./prepro.js -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\", \"parser\": \"acorn\", \"svg\": true, \"fatline\": false }' $3 $2" case $1 in