projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c91ced7
)
olsrd: find_most_recent_plugin_libary() fix input with 'exact' filenames
author
Bastian Bittorf
<bb@npl.de>
Tue, 14 Feb 2017 07:58:22 +0000
(08:58 +0100)
committer
Bastian Bittorf
<bb@npl.de>
Tue, 14 Feb 2017 07:58:22 +0000
(08:58 +0100)
olsrd/files/olsrd.init
patch
|
blob
|
history
diff --git
a/olsrd/files/olsrd.init
b/olsrd/files/olsrd.init
index bbb4e07307fc9d16025a7fcf6e65a3873e8ce58c..7f7aecc83e63b3a7d419450ba2ca4a6ffcd94395 100644
(file)
--- 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