From a466d5d3552ae3f4d9a6012397c668ffd34a5c03 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 26 Sep 2024 16:31:12 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Fix=20'mfconfig=20manual'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/mfconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mfconfig b/bin/mfconfig index 4e3f3e9cfa0..2dc739357e1 100755 --- a/bin/mfconfig +++ b/bin/mfconfig @@ -139,7 +139,8 @@ elif ACTION == "manual": checkout(IMPORT) # Replace examples/default with our local copies - shutil.copy(MARLINREPO / "Marlin" / "Configuration*.h", CONFIGDEF) + for fn in MARLINREPO.glob("Marlin/**/Configuration*.h"): + shutil.copy(fn, CONFIGDEF) #git add . && git commit -m "Changes from Marlin ($(date '+%Y-%m-%d %H:%M'))." #commit(f"Changes from Marlin ({datetime.datetime.now()}).")