From e43ed96ef494a9f0128dcfc48af3eb23c6186e91 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Dec 2019 15:40:42 +0100 Subject: Fix build script --- scripts/build/index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build/index.sh b/scripts/build/index.sh index 31f2733c3..d7d04fd08 100755 --- a/scripts/build/index.sh +++ b/scripts/build/index.sh @@ -2,12 +2,12 @@ set -eu -if [[ -n ${1+x} ]]; then +if [ ! -z ${1+x} ]; then clientCommand="npm run build:client -- $1" else clientCommand="npm run build:client" fi -npm run concurrently -- --raw \w +npm run concurrently -- --raw \ "$clientCommand" \ "npm run build:server" -- cgit v1.2.3