From: Roland Häder Date: Wed, 2 Dec 2020 06:09:59 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=90f442d88f7876a27ff75452e0ed1708b7dbc198;p=core.git Continued: - first parameter can be an alternative log file Signed-off-by: Roland Häder --- 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."