[libsnmp-session-perl] 12/15: Fix some more perl path locations in examples.

Roland Rosenfeld roland at moszumanska.debian.org
Mon Dec 4 19:28:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

roland pushed a commit to branch master
in repository libsnmp-session-perl.

commit 8261bee9c0dd1eb5bdb9dfe53cbbded0389b4596
Author: Roland Rosenfeld <roland at debian.org>
Date:   Tue Nov 14 22:39:16 2017 +0100

    Fix some more perl path locations in examples.
---
 debian/changelog | 3 ++-
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dd6163a..a70a96a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,9 @@ libsnmp-session-perl (1.14~git20130523.186a005-1) UNRELEASED; urgency=medium
   * 05_utf8_manpage: Remove some UTF-8 char looking like underscore from
     man page.
   * 06_BER_whatis: Add whois entry to BER(3pm) man page.
+  * Fix some more perl path locations in examples.
 
- -- Roland Rosenfeld <roland at debian.org>  Tue, 14 Nov 2017 22:34:59 +0100
+ -- Roland Rosenfeld <roland at debian.org>  Tue, 14 Nov 2017 22:39:03 +0100
 
 libsnmp-session-perl (1.13-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 84eb94e..e6e5efd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ override_dh_installdocs:
 # 	Now we do the examples
 	cp -a test $(DEBDIR)/usr/share/doc/$(PACKAGE)/examples
 #	Now we fix up the path to perl in the examples
-	perl -pi -e 's%/usr/local/bin/perl%/usr/bin/perl%;' \
+	perl -pi -e 's%/usr/(local|sepp|)/bin/perl5?%/usr/bin/perl%;' \
 		$(DEBDIR)/usr/share/doc/$(PACKAGE)/examples/*
 	chmod 755 $(DEBDIR)/usr/share/doc/$(PACKAGE)/examples/*.pl
 	chmod 755 $(DEBDIR)/usr/share/doc/$(PACKAGE)/examples/sun-find-process

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsnmp-session-perl.git



More information about the Pkg-perl-cvs-commits mailing list