gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-build-common] branch master updated: -compat


From: gnunet
Subject: [taler-build-common] branch master updated: -compat
Date: Fri, 28 Oct 2022 14:45:36 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository build-common.

The following commit(s) were added to refs/heads/master by this push:
     new 355a317  -compat
355a317 is described below

commit 355a3172699b96f1040edcb577c07a681802b3ae
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Oct 28 14:45:29 2022 +0200

    -compat
---
 talerbuildconfig.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/talerbuildconfig.py b/talerbuildconfig.py
index 394e8e9..1b531a8 100644
--- a/talerbuildconfig.py
+++ b/talerbuildconfig.py
@@ -158,13 +158,14 @@ class BuildConfig:
 
         if self.configmk_enabled:
             if self.configmk_dotfile:
-                print("writing .config.mk")
                 d = Path(".")
+                cf = d / ".config.mk"
             else:
-                print("writing config.mk")
                 d = Path(os.environ.get("TALERBUILDSYSTEMDIR", "."))
+                cf = d / "config.mk"
             d.mkdir(parents=True, exist_ok=True)
-            with open(d / ".config.mk", "w") as f:
+            print(f"writing {cf}")
+            with open(cf, "w") as f:
                 f.write("# this makefile fragment is autogenerated by 
configure.py\n")
                 if self.prefix_enabled:
                     f.write(f"prefix = {args.prefix}\n")

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]