From d5ba52ddc0b1ec7b00a7819258a042d19a2d8f29 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 1 Jul 2023 19:03:25 +0200 Subject: [PATCH] Use shell syntax for parameter expansion. --- src/bin/installDeps.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/installDeps.sh b/src/bin/installDeps.sh index 002cf3d17..76b9bdeac 100755 --- a/src/bin/installDeps.sh +++ b/src/bin/installDeps.sh @@ -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