From 6e33bd47e2929f8a713215e0f076d3b8dd3f20be Mon Sep 17 00:00:00 2001 From: David Boreham Date: Tue, 11 Apr 2023 07:20:38 -0600 Subject: [PATCH] Fix syntax errors (#314) Former-commit-id: 7c6c46febb97f7ed93efa00f170cc143cf3e70d7 --- .../cerc-laconic-console-host/apply-webapp-config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/data/container-build/cerc-laconic-console-host/apply-webapp-config.sh b/app/data/container-build/cerc-laconic-console-host/apply-webapp-config.sh index a453cc8..d01b655 100755 --- a/app/data/container-build/cerc-laconic-console-host/apply-webapp-config.sh +++ b/app/data/container-build/cerc-laconic-console-host/apply-webapp-config.sh @@ -8,11 +8,11 @@ if [[ $# -ne 2 ]]; then fi config_file_name=$1 webapp_files_dir=$2 -if ![[ -f ${config_file_name} ]]; then +if ! [[ -f ${config_file_name} ]]; then echo "Config file ${config_file_name} does not exist" >&2 exit 1 fi -if ![[ -d ${webapp_files_dir} ]]; then +if ! [[ -d ${webapp_files_dir} ]]; then echo "Webapp directory ${webapp_files_dir} does not exist" >&2 exit 1 fi