From 114bb022c46991e9595cbddbb1ea5b11a2ad5788 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 13 Sep 2013 12:22:05 +0200 Subject: [PATCH] Remove temporary cpp file also when generating header file. Debian #722649 --- dtrace.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dtrace.in b/dtrace.in index f0815b0eb..20c5a95d0 100755 --- a/dtrace.in +++ b/dtrace.in @@ -275,11 +275,13 @@ def main(): os.remove(fn) else: print "source: " + fn - if (use_cpp): - if (not keep_temps): - os.remove(s_filename) - else: - print "cpp: " + s_filename + + if (use_cpp): + if (not keep_temps): + os.remove(s_filename) + else: + print "cpp: " + s_filename + return 0 if __name__ == "__main__": -- 2.43.5