forked from kiss-community/kiss
misc: nits
This commit is contained in:
parent
6f2e47f0bb
commit
935196adaa
4
kiss
4
kiss
@ -569,7 +569,7 @@ pkg_order() {
|
|||||||
|
|
||||||
# Filter the list, only keeping explicit packages. The purpose of these
|
# Filter the list, only keeping explicit packages. The purpose of these
|
||||||
# two loops is to order the argument list based on dependence.
|
# two loops is to order the argument list based on dependence.
|
||||||
for pkg in $deps; do case " $* " in *" $pkg "* | *" ${pkg##"$ppwd/"} "*)
|
for pkg in $deps; do case " $* " in *" $pkg "*|*" ${pkg##"$ppwd/"} "*)
|
||||||
order="$order $pkg"
|
order="$order $pkg"
|
||||||
redro="$pkg $redro"
|
redro="$pkg $redro"
|
||||||
esac done
|
esac done
|
||||||
@ -655,7 +655,7 @@ pkg_fix_deps() {
|
|||||||
|
|
||||||
# Iterate over the output of readelf or ldd, extract file names,
|
# Iterate over the output of readelf or ldd, extract file names,
|
||||||
# resolve their paths and finally, figure out their owner.
|
# resolve their paths and finally, figure out their owner.
|
||||||
while read -r lib; do case $lib in *NEEDED*\[*\] | *'=>'*)
|
while read -r lib; do case $lib in *NEEDED*\[*\]|*'=>'*)
|
||||||
# readelf: 0x0000 (NEEDED) Shared library: [libjson-c.so.5]
|
# readelf: 0x0000 (NEEDED) Shared library: [libjson-c.so.5]
|
||||||
lib=${lib##*\[}
|
lib=${lib##*\[}
|
||||||
lib=${lib%%\]*}
|
lib=${lib%%\]*}
|
||||||
|
Loading…
Reference in New Issue
Block a user