X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fbuild%2Findex.sh;h=bf6ad48ebe3fb753986ee436ef64c94d7a8a7ae2;hb=d632a147293b36e46549a3ead754ef52d8fea735;hp=31f2733c32a8432de512f9a369e925dfa197e974;hpb=ba430d7516bc5b1324b60571ba7594460969b7fb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/build/index.sh b/scripts/build/index.sh index 31f2733c3..bf6ad48eb 100755 --- a/scripts/build/index.sh +++ b/scripts/build/index.sh @@ -1,13 +1,13 @@ -#!/bin/sh +#!/bin/bash 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"