diff options
| author | Bastian Bittorf <bb@npl.de> | 2017-02-14 08:58:22 +0100 |
|---|---|---|
| committer | Bastian Bittorf <bb@npl.de> | 2017-02-14 08:58:22 +0100 |
| commit | f15b8246fabbf042cf520b40876247e654396a54 (patch) | |
| tree | 8dfe0547f3e7fb9e739c2f136678f605fb6fc436 /olsrd | |
| parent | c91ced72795bc0e75c7b617dac16c14d4567352b (diff) | |
olsrd: find_most_recent_plugin_libary() fix input with 'exact' filenames
Diffstat (limited to 'olsrd')
| -rw-r--r-- | olsrd/files/olsrd.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/olsrd/files/olsrd.init b/olsrd/files/olsrd.init index bbb4e07..7f7aecc 100644 --- a/olsrd/files/olsrd.init +++ b/olsrd/files/olsrd.init @@ -477,6 +477,7 @@ find_most_recent_plugin_libary() for file in "/lib/$library"* "/usr/lib/$library"* "/usr/local/lib/$library"*; do { [ -f "$file" ] && { + file="$( basename "$file" )" # make sure that we do not select # 'olsrd_dyn_gw_plain.so.0.4' if user wants # 'olsrd_dyn_gw.so.0.5' -> compare part before 1st dot |
