On Wed, 27 May 2020 13:50:17 +0200, Andreas Tille wrote: > I'm freqently stumbling upon things like > > W: samclip: incorrect-path-for-interpreter usr/bin/samclip (#!/usr/bin/env > perl != /usr/bin/perl) > > and my usual way to deal with this was firing up sed in d/rules. However, > I can not imagine that you have a more clever way how to deal with this. > Any hint how I can do this more elegantly?
We're also using sed, typically: % cat libtext-simpletable-perl/debian/rules #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/* or % cat zonemaster-cli/debian/rules #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_install: dh_install sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/$(PACKAGE) > Moreover some kind review of this pure Perl package would be nice. (Not from me today.) Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Rolling Stones: Sympathy for the Devil
signature.asc
Description: Digital Signature