projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba430d7
)
Fix build script
author
Chocobozzz
<me@florianbigard.com>
Wed, 18 Dec 2019 14:40:42 +0000
(15:40 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 18 Dec 2019 14:40:59 +0000
(15:40 +0100)
scripts/build/index.sh
patch
|
blob
|
history
diff --git
a/scripts/build/index.sh
b/scripts/build/index.sh
index 31f2733c32a8432de512f9a369e925dfa197e974..d7d04fd083ed83c083f33d0417115555a0d7440b 100755
(executable)
--- 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"