[Git][ghc/ghc][master] Remove tmp files after toolchain check

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Jan 7 23:16:02 UTC 2025



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
6c12b6cf by Bryan Richter at 2025-01-07T18:15:02-05:00
Remove tmp files after toolchain check

Fixes #25620

- - - - -


1 changed file:

- m4/ghc_toolchain.m4


Changes:

=====================================
m4/ghc_toolchain.m4
=====================================
@@ -187,6 +187,7 @@ AC_DEFUN([VALIDATE_GHC_TOOLCHAIN],[
     "$GHC_TOOLCHAIN_BIN" format --input="$1" --output="$o1"
     "$GHC_TOOLCHAIN_BIN" format --input="$2" --output="$o2"
     diff_output=`diff "$o1" "$o2" 2>&1`
+    rm -f "$o1" "$o2"
     if test -z "$diff_output"; then
       true
     else



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6c12b6cf4e16b8af0db5a1cdea95d2ec4f54ea14

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6c12b6cf4e16b8af0db5a1cdea95d2ec4f54ea14
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250107/f84ba25b/attachment.html>


More information about the ghc-commits mailing list