From: Michael Tremer Date: Wed, 10 Jul 2024 17:19:46 +0000 (+0000) Subject: Config: Remove ./ from filenames in archives X-Git-Tag: v2.29-core188~10^2~257 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e41d45e7bbe5f8b1f541805437c2b62274cd69e;p=ipfire-2.x.git 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 --- 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))