diff options
author | joey <joey> | 1999-08-17 04:41:40 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 04:41:40 +0000 |
commit | e742573dc1696f78dacb1cf36827e9a04f6f3514 (patch) | |
tree | 0ecf4d789fedaa852608125eaa54f379e0e99e04 /dh_makeshlibs | |
parent | 2dc6b1e7754c88976aadefb20a4d387e8cf8b4ce (diff) | |
download | debhelper-e742573dc1696f78dacb1cf36827e9a04f6f3514.tar.gz |
r44: Initial Import
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index 0943ba57..6cf9c803 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -15,8 +15,12 @@ for PACKAGE in $DH_DOPACKAGES; do for file in `find $TMP -type f -name "*.so*" | tr "\n" " "` ; do LIBRARY=`expr $file : ".*/\(.*\)\.so\..*"` || true VERSION=`expr $file : ".*/.*\.so\.\(.*\)"` || true - MAJOR=`expr $VERSION : "\([0-9]*\)\."` || true - LIBSTUB=`expr $file : "\(.*\/.*\.so\)\..*"` || true + if [ -z "$DH_M_PARAMS" ]; then + MAJOR=`expr $VERSION : "\([0-9]*\)\."` || true + else + MAJOR="$DH_M_PARAMS" + fi +# LIBSTUB=`expr $file : "\(.*\/.*\.so\)\..*"` || true if [ ! -d "$TMP/DEBIAN" ] ; then doit "install -d $TMP/DEBIAN" fi |