From: Michael Tremer Date: Sat, 29 Jan 2022 10:27:29 +0000 (+0000) Subject: stripper: Actually use the path we want X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=140efdc172ff9ea5f8057a4d11826c63255b4fe7;p=people%2Fms%2Fipfire-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