From 4c8d3495665a3afd5d1938514eeca1af2ac1b2af Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 10 Jul 2024 17:19:46 +0000 Subject: [PATCH] Config: Remove ./ from filenames in archives I am not sure if this would actually create any problems, but it looks ugly and is inconsistent with the older code. Signed-off-by: Michael Tremer --- lfs/Config | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/Config b/lfs/Config index 66c795813..ea2ee8352 100644 --- a/lfs/Config +++ b/lfs/Config @@ -394,6 +394,7 @@ __COMPRESS = \ $(TAR_OPTIONS) \ --directory=$(1) \ --file=$(2) \ + --transform="s@^\./@@" \ . COMPRESS_XZ = $(call __COMPRESS,$(1),$(2),xz $(XZ_OPT)) -- 2.39.5