[Git][ghc/ghc][wip/release-fixes] rel_env/recompress_all: unxz before recompressing

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Thu Mar 14 13:26:09 UTC 2024



Ben Gamari pushed to branch wip/release-fixes at Glasgow Haskell Compiler / GHC


Commits:
036aedd0 by Ben Gamari at 2024-03-14T09:25:58-04:00
rel_env/recompress_all: unxz before recompressing

Previously we would rather compress the xz *again*, before in addition
compressing it with the desired scheme.

Fixes #24545.

- - - - -


1 changed file:

- .gitlab/rel_eng/recompress-all


Changes:

=====================================
.gitlab/rel_eng/recompress-all
=====================================
@@ -9,15 +9,15 @@ usage :
 
 %.gz : %.xz
 	echo "[xz->gz] $< to $@..."
-	xz -c $< | gzip -c > $@
+	xz -cd $< | gzip -c > $@
 
 %.bz2 : %.xz
 	echo "[xz->bz2] $< to $@..."
-	xz -c $< | bzip2 -c > $@
+	xz -cd $< | bzip2 -c > $@
 
 %.lz : %.xz
 	echo "[xz->lz] $< to $@..."
-	xz -c $< | lzip -c > $@
+	xz -cd $< | lzip -c > $@
 
 %.zip : %.tar.xz
 	echo "[tarxz->zip] $< to $@..."



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/036aedd045a523e70260af58b7e8643b5b6daff8

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/036aedd045a523e70260af58b7e8643b5b6daff8
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/20240314/8c311220/attachment.html>


More information about the ghc-commits mailing list