From: Chocobozzz Date: Wed, 18 Dec 2019 14:40:42 +0000 (+0100) Subject: Fix build script X-Git-Tag: v2.1.0-rc.1~177 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e43ed96ef494a9f0128dcfc48af3eb23c6186e91;p=oweals%2Fpeertube.git Fix build script --- 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"