]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
Config: Remove ./ from filenames in archives
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 10 Jul 2024 17:19:46 +0000 (17:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Jul 2024 15:21:20 +0000 (15:21 +0000)
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 <michael.tremer@ipfire.org>
lfs/Config

index 66c7958136d349ad4170b5fc1de00d302b12eba4..ea2ee8352cf22c01f9ae719d6476541ac1101d6f 100644 (file)
@@ -394,6 +394,7 @@ __COMPRESS = \
                $(TAR_OPTIONS) \
                --directory=$(1) \
                --file=$(2) \
+               --transform="s@^\./@@" \
                .
 
 COMPRESS_XZ   = $(call __COMPRESS,$(1),$(2),xz $(XZ_OPT))