From 9d45158f42e856db074aa251fd45e1d1d6e8c934 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 13 Mar 2017 18:17:42 +0100 Subject: [PATCH] Add print of current directory for command in the log file. --- kiwix-build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kiwix-build.py b/kiwix-build.py index 5494179..937f9c5 100755 --- a/kiwix-build.py +++ b/kiwix-build.py @@ -382,6 +382,7 @@ class BuildEnv: if not self.options.verbose: log = open(context.log_file, 'w') print("run command '{}'".format(command), file=log) + print("current directory is '{}'".format(cwd), file=log) print("env is :", file=log) for k, v in env.items(): print(" {} : {!r}".format(k, v), file=log)