diff options
author | joey <joey> | 2000-11-27 20:22:59 +0000 |
---|---|---|
committer | joey <joey> | 2000-11-27 20:22:59 +0000 |
commit | bf79e6fa88299e4452520195ac6f298a6989e825 (patch) | |
tree | 96a128bcf5f2c1068859b44b106fd4c75ff4dc34 /dh_makeshlibs | |
parent | 858d4ccaeb04f9c2ea9dd4083aca06dac25037e5 (diff) | |
download | debhelper-bf79e6fa88299e4452520195ac6f298a6989e825.tar.gz |
r395: * dh_makeshlibs: corrected the evil db3-regex so it doesn't misfire on
data like "debian/libruby/usr/lib/ruby/1.6/i486-linux/etc.so".
Closes: #78139
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index 1b50ea11..8f3e7a7a 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -19,7 +19,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $need_ldconfig=1; # The second evil regexp is for db3, whose author should # be shot. - if (m#.*/(.*)\.so\.(\d*)\.?# || m#.*/(.*)-(\S+)\.so$#) { + if (m#.*/([^/]*)\.so\.(\d*)\.?# || m#.*/([^/]*)-([^\s/]+)\.so$#) { $library = $1; $major = $2; } |