Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 2 Dec 2020 06:09:59 +0000 (07:09 +0100)
committerRoland Häder <roland@mxchange.org>
Wed, 2 Dec 2020 06:09:59 +0000 (07:09 +0100)
- first parameter can be an alternative log file

Signed-off-by: Roland Häder <roland@mxchange.org>
contrib/missing-methods.sh

index 9428ec31733062e7f0994ddb5518936733967e27..6c7ac041a730de5ddd57a0fb5d8649e103ba78f5 100755 (executable)
@@ -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."