repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit f8578219687f65e2e7be362ac3e3ad2692816b45
parent 29a42b80dbbf334a338c4c7eba6521d5b51eeb59
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 25 Dec 2020 02:36:00 +0300

perl: use POSIX operations on 'find(1)'

Diffstat:
Mextra/perl/build | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/extra/perl/build b/extra/perl/build @@ -31,13 +31,14 @@ make make DESTDIR="$1" install # Remove all unneeded files. -find "$1" -name \*.pod -delete -find "$1" -name .packlist -delete -find "$1" -name README\* -delete -find "$1" -name TODO\* -delete -find "$1" -name Change\* -delete -find "$1" -name \*.bs -delete -find "$1" -name \*.0 -type f -delete +find "$1" \( \ + -name '*.pod' -o \ + -name .packlist -o \ + -name README\* -o \ + -name TODO\* -o \ + -name Change\* -o \ + -name \*.bs -o \ + -name \*.0 \) -type f -exec rm -f -- {} + # Fix permissions. find "$1/usr/lib" -type f -exec chmod 644 {} \;