From 7efa697e5a037a1dccf05c4271ea872ebba1558d Mon Sep 17 00:00:00 2001 From: Evilham Date: Fri, 15 May 2020 22:26:33 +0200 Subject: [PATCH] [__coturn] Make shellcheck happy --- type/__coturn/manifest | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/type/__coturn/manifest b/type/__coturn/manifest index cfd0c9c..268469b 100755 --- a/type/__coturn/manifest +++ b/type/__coturn/manifest @@ -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"