From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 22/28] stripper: Actually use the path we want Date: Fri, 04 Feb 2022 16:47:42 +0000 Message-ID: <20220204164748.315559-22-michael.tremer@ipfire.org> In-Reply-To: <20220204164748.315559-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8942748075592847433==" List-Id: --===============8942748075592847433== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- src/stripper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stripper b/src/stripper index d1739b28c..8689b34de 100755 --- a/src/stripper +++ b/src/stripper @@ -61,7 +61,7 @@ function _strip() { } =20 for path in ${paths[@]}; do - for file in $(find / -xdev "${excludes[@]}" -type f \( -perm -0100 -or -per= m -0010 -or -perm -0001 \) 2>/dev/null); do + for file in $(find "${path}" -xdev "${excludes[@]}" -type f \( -perm -0100 = -or -perm -0010 -or -perm -0001 \) 2>/dev/null); do _strip "${file}" || exit $? done done --=20 2.30.2 --===============8942748075592847433==--