[__coturn] Make shellcheck happy
This commit is contained in:
parent
61bd5b5958
commit
7efa697e5a
1 changed files with 6 additions and 3 deletions
|
@ -89,15 +89,18 @@ if [ -f "$__object/parameter/pkey" ]; then
|
|||
fi
|
||||
|
||||
if [ -f "$__object/parameter/extra-config" ]; then
|
||||
EXTRA_CONFIG=$(cat $__object/parameter/extra-config)
|
||||
EXTRA_CONFIG=$(cat "$__object/parameter/extra-config")
|
||||
if [ "$EXTRA_CONFIG" = "-" ]; then
|
||||
EXTRA_CONFIG=$(cat "$__object/stdin")
|
||||
fi
|
||||
export EXTRA_CONFIG
|
||||
fi
|
||||
|
||||
export MIN_PORT=$(cat "$__object/parameter/min-port")
|
||||
export MAX_PORT=$(cat "$__object/parameter/max-port")
|
||||
MIN_PORT=$(cat "$__object/parameter/min-port")
|
||||
export MIN_PORT
|
||||
MAX_PORT=$(cat "$__object/parameter/max-port")
|
||||
export MAX_PORT
|
||||
|
||||
|
||||
# Generate and deploy configuration file.
|
||||
mkdir -p "$__object/files"
|
||||
|
|
Loading…
Reference in a new issue