From 3e41d45e7bbe5f8b1f541805437c2b62274cd69e 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 66c7958136..ea2ee8352c 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