Fix build script
authorChocobozzz <me@florianbigard.com>
Wed, 18 Dec 2019 14:40:42 +0000 (15:40 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 18 Dec 2019 14:40:59 +0000 (15:40 +0100)
scripts/build/index.sh

index 31f2733c32a8432de512f9a369e925dfa197e974..d7d04fd083ed83c083f33d0417115555a0d7440b 100755 (executable)
@@ -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"