From 2a75b04af0bdbb887cd22f6b5b6feeffdff4caba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 27 May 2013 14:36:21 -0700 Subject: [PATCH] Clean up build script. --- build/preprocess.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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