aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build/index.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-18 15:40:42 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 15:40:59 +0100
commite43ed96ef494a9f0128dcfc48af3eb23c6186e91 (patch)
tree2e0afde9598b92830859f70652e6e85d9ba394ee /scripts/build/index.sh
parentba430d7516bc5b1324b60571ba7594460969b7fb (diff)
downloadPeerTube-e43ed96ef494a9f0128dcfc48af3eb23c6186e91.tar.gz
PeerTube-e43ed96ef494a9f0128dcfc48af3eb23c6186e91.tar.zst
PeerTube-e43ed96ef494a9f0128dcfc48af3eb23c6186e91.zip
Fix build script
Diffstat (limited to 'scripts/build/index.sh')
-rwxr-xr-xscripts/build/index.sh4
1 files changed, 2 insertions, 2 deletions
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 @@
2 2
3set -eu 3set -eu
4 4
5if [[ -n ${1+x} ]]; then 5if [ ! -z ${1+x} ]; then
6 clientCommand="npm run build:client -- $1" 6 clientCommand="npm run build:client -- $1"
7else 7else
8 clientCommand="npm run build:client" 8 clientCommand="npm run build:client"
9fi 9fi
10 10
11npm run concurrently -- --raw \w 11npm run concurrently -- --raw \
12 "$clientCommand" \ 12 "$clientCommand" \
13 "npm run build:server" 13 "npm run build:server"