kiss: skip symlinks when stripping

This commit is contained in:
Dylan Araps 2021-07-27 14:45:39 +03:00
parent c22649263e
commit 530d123eb2
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -621,7 +621,7 @@ pkg_strip() {
# 0000000 ! < a r c h > \n /
# 0000020
# 0000022
while read -r file; do case $file in
while read -r file; do [ -h "$pkg_dir/$1$file" ] || case $file in
# Look only in these locations for files of interest (libraries,
# programs, etc). This includes all subdirectories. Old behavior
# would run od on all files (upwards of 4000 for Python).