[Git][ghc/ghc][wip/b/toolchain-tmp-cleanup] Remove tmp files after toolchain check

Bryan R (@chreekat) gitlab at gitlab.haskell.org
Thu Jan 2 08:38:51 UTC 2025



Bryan R pushed to branch wip/b/toolchain-tmp-cleanup at Glasgow Haskell Compiler / GHC


Commits:
ecedf876 by Bryan Richter at 2025-01-02T10:38:19+02: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/ecedf87643b43058052d77092d5a126f8555ad3b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ecedf87643b43058052d77092d5a126f8555ad3b
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/20250102/e9c155d4/attachment.html>


More information about the ghc-commits mailing list