summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs6
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs
index f96c327f..d595c3b5 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -24,9 +24,9 @@ for PACKAGE in $DH_DOPACKAGES; do
if [ ! -d "$TMP/DEBIAN" ] ; then
doit "install -d $TMP/DEBIAN"
fi
- if [ "$DH_V_FLAG" ]; then
- if [ "$*" ]; then
- PACKAGE="$*"
+ if [ "$DH_V_FLAG_SET" ]; then
+ if [ "$DH_V_FLAG" ]; then
+ PACKAGE="$DH_V_FLAG"
else
# Call isnative becuase it sets $VERSION
# as a side effect.