summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:41:40 +0000
committerjoey <joey>1999-08-17 04:41:40 +0000
commite742573dc1696f78dacb1cf36827e9a04f6f3514 (patch)
tree0ecf4d789fedaa852608125eaa54f379e0e99e04 /dh_makeshlibs
parent2dc6b1e7754c88976aadefb20a4d387e8cf8b4ce (diff)
downloaddebhelper-e742573dc1696f78dacb1cf36827e9a04f6f3514.tar.gz
r44: Initial Import
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs8
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