-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
I had a look at the dependency detection logic, and if my reading of the code is correct, it could produce false positives.
For example, given a check for the libz entry, it would check for the path $usr_path/lib/libz*, which means that even if no libz.so or similar existed, something like libzanzibar.so (which would be an entirely different library!) would still match, and therefore the script would incorrectly presume that libz is installed.
My Bash is a little rusty so I'm unsure whether this assessment is correct, but if it is, then a fix would probably be to do something like the following instead (note the dot at the end):
so_files="$usr_path/lib/$so."*