mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
Use shell syntax for parameter expansion.
This commit is contained in:
parent
e61e752895
commit
d5ba52ddc0
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
# Move to the Etherpad base directory.
|
||||
MY_DIR=$(cd "${0%/*}" && pwd -P) || exit 1
|
||||
|
@ -45,7 +46,7 @@ cd ep_etherpad-lite)
|
|||
|
||||
cd src
|
||||
|
||||
if [[ -z "${ETHERPAD_PRODUCTION}" ]]; then
|
||||
if [ -z "${ETHERPAD_PRODUCTION}" ]; then
|
||||
log "Installing dev dependencies"
|
||||
npm ci --no-optional --omit=optional --include=dev --lockfile-version 1 || exit 1
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue