diff options
Diffstat (limited to 'eclass/db.eclass')
-rw-r--r-- | eclass/db.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass index 5227601c456f..8de3a63ea8a7 100644 --- a/eclass/db.eclass +++ b/eclass/db.eclass @@ -30,7 +30,7 @@ db_fix_so() { # now rebuild all the correct ones for ext in so a; do for name in libdb libdb_{cxx,tcl,java,sql,stl}; do - target=`find . -maxdepth 1 -type f -name "${name}-*.${ext}" |sort -n |tail -n 1` + target=$(find . -maxdepth 1 -type f -name "${name}-*.${ext}" |sort -V |tail -n 1) [ -n "${target}" ] && ln -sf ${target//.\//} ${name}.${ext} done; done; |