From 5ad9b66ee733f91f1ef00adf2614fed5a6dbec98 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Fri, 24 May 2024 21:37:21 -0600 Subject: [PATCH] Delete .sconsign.dblite at exit --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 8460663aa..45810f1a8 100644 --- a/SConstruct +++ b/SConstruct @@ -1,6 +1,7 @@ import os.path as path import os import subprocess +import atexit # Build options opts = Variables(None, ARGUMENTS) @@ -414,4 +415,4 @@ elif platform == "win32" and subprocess.call(['where', '/Q', 'makensis']) == 0: # Cleanup env.Clean('.', 'build') -env.Clean('.', Glob('.sconsign.*')) +atexit.register(lambda: map(os.remove, Glob('.sconsign.*')))