Control: tag -1 + patch

Hi,

>   dpkg-shlibdeps: error: cannot read «BUILDDIR»/debian/ftpcopy/usr/bin/ftpcp: 

ftpcp is a shell script, not a binary.
Calling dpkg-shlibdeps no longer works since dpkg 1.18.19.
In previous version, objdump called by dpkg-shlibdeps would print an
error, but the call would still exit with 0.

The attached patch calls dpkg-shlibdeps only on the binaries.

Regards,
  Reiner
diff -u ftpcopy-0.6.7/debian/rules ftpcopy-0.6.7/debian/rules
--- ftpcopy-0.6.7/debian/rules
+++ ftpcopy-0.6.7/debian/rules
@@ -69,7 +69,7 @@
 install-indep: deb-checkdir deb-checkuid build-indep-stamp
 
 binary-arch: deb-checkdir deb-checkuid install-arch ftpcopy.deb
-	test '$(DIET)' -ne 0 || dpkg-shlibdeps '$(DIR)'/usr/bin/*
+	test '$(DIET)' -ne 0 || dpkg-shlibdeps '$(DIR)'/usr/bin/ftpcopy '$(DIR)'/usr/bin/ftpls
 	dpkg-gencontrol -isp -pftpcopy -P'$(DIR)' 
 	dpkg -b '$(DIR)' ..
 

Attachment: signature.asc
Description: PGP signature

Reply via email to