forked from cerc-io/stack-orchestrator
parent
c2a3ffe0dd
commit
6e33bd47e2
@ -8,11 +8,11 @@ if [[ $# -ne 2 ]]; then
|
|||||||
fi
|
fi
|
||||||
config_file_name=$1
|
config_file_name=$1
|
||||||
webapp_files_dir=$2
|
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
|
echo "Config file ${config_file_name} does not exist" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if ![[ -d ${webapp_files_dir} ]]; then
|
if ! [[ -d ${webapp_files_dir} ]]; then
|
||||||
echo "Webapp directory ${webapp_files_dir} does not exist" >&2
|
echo "Webapp directory ${webapp_files_dir} does not exist" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user