Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix build script

Chocobozzze43ed96ef494
diff --git a/scripts/build/index.sh b/scripts/build/index.sh
index 31f2733c32..d7d04fd083 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"