kiss: pkg_fix_deps less indentation

This commit is contained in:
Dylan Araps 2021-07-05 13:16:37 +03:00
parent f9bf8816f2
commit cbc638ac11
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 31 additions and 33 deletions

4
kiss
View File

@ -527,8 +527,7 @@ pkg_fix_deps() {
continue
while read -r line || [ "$line" ]; do
case $line in
*NEEDED*\[*\] | *'=>'*)
case $line in *NEEDED*\[*\] | *'=>'*)
# readelf: 0x0000 (NEEDED) Shared library: [libjson-c.so.5]
line=${line##*\[}
line=${line%%\]*}
@ -563,7 +562,6 @@ pkg_fix_deps() {
printf '%s\n' "$pkg_owner"
;;
esac
;;
esac
done <<EOF || :
${elf_buf:-"$ldd_buf"}