From bf7e2a46485065df5e15c1b806d8a0cf13db7edf Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 9 Jul 2020 14:06:41 +0200 Subject: [PATCH] simpler lost+found pattern the **/ is not required and currently also mistakenly doesn't match /lost+found which is probably buggy on the pathpatterns crate side and needs fixing there Signed-off-by: Wolfgang Bumiller --- src/pxar/create.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pxar/create.rs b/src/pxar/create.rs index 8c5ea40b..2de579a3 100644 --- a/src/pxar/create.rs +++ b/src/pxar/create.rs @@ -161,7 +161,7 @@ where if skip_lost_and_found { patterns.push(MatchEntry::parse_pattern( - "**/lost+found", + "lost+found", PatternFlag::PATH_NAME, MatchType::Exclude, )?);