From 90f442d88f7876a27ff75452e0ed1708b7dbc198 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 2 Dec 2020 07:09:59 +0100 Subject: [PATCH] Continued: - first parameter can be an alternative log file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- contrib/missing-methods.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/missing-methods.sh b/contrib/missing-methods.sh index 9428ec31..6c7ac041 100755 --- a/contrib/missing-methods.sh +++ b/contrib/missing-methods.sh @@ -2,6 +2,11 @@ DEBUG_FILE="./debug.log" +if [ -f "$1" ] +then + DEBUG_FILE="$1" +fi + if [ ! -f "${DEBUG_FILE}" ] then echo "$0: DEBUG_FILE='${DEBUG_FILE}' does not exist." -- 2.39.5