From: Michael Tremer Date: Fri, 4 Feb 2022 16:47:42 +0000 (+0000) Subject: stripper: Actually use the path we want X-Git-Tag: v2.27-core165~15^2~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52e947f7f2c459baecfe9e8a713ac136bab3f985;p=ipfire-2.x.git stripper: Actually use the path we want Signed-off-by: Michael Tremer --- diff --git a/src/stripper b/src/stripper index d1739b28cb..8689b34dee 100755 --- a/src/stripper +++ b/src/stripper @@ -61,7 +61,7 @@ function _strip() { } for path in ${paths[@]}; do - for file in $(find / -xdev "${excludes[@]}" -type f \( -perm -0100 -or -perm -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