autoPatchelf: add comment why ignore failing ldd/sed
This commit is contained in:
parent
2fde1e63ba
commit
2efcf6dc26
|
@ -135,6 +135,8 @@ autoPatchelfFile() {
|
||||||
# clear the RPATH first.
|
# clear the RPATH first.
|
||||||
runPatchelf --remove-rpath "$toPatch"
|
runPatchelf --remove-rpath "$toPatch"
|
||||||
|
|
||||||
|
# If the file is not a dynamic executable, ldd/sed will fail,
|
||||||
|
# in which case we return, since there is nothing left to do.
|
||||||
local missing
|
local missing
|
||||||
missing="$(
|
missing="$(
|
||||||
ldd "$toPatch" 2> /dev/null | \
|
ldd "$toPatch" 2> /dev/null | \
|
||||||
|
|
Loading…
Reference in New Issue