xmltv/filter tv_grep.PL,1.7,1.8

Nick Morrott via xmltv-commit <[email protected]> Fri, 18 Aug 2017 00:32:26 +0000
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/filter
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30328/filter

Modified Files:
	tv_grep.PL 
Log Message:
Provide explicit paths to current directory for 'require's

Perl 5.26 drops "." from @INC by default, so ensure require/use/do
find files in currdir when necessary


Index: tv_grep.PL
===================================================================
RCS file: /cvsroot/xmltv/xmltv/filter/tv_grep.PL,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tv_grep.PL	24 Feb 2017 22:35:58 -0000	1.7
--- tv_grep.PL	18 Aug 2017 00:32:24 -0000	1.8
***************
*** 14,20 ****
  use XMLTV;
  
! # Perl 5.24.1+ does not include '.' in @INC but we need some libs during build
! use lib '.';
! require 'filter/Grep.pm';
  
  my $out = shift @ARGV; die "no output file given" if not defined $out;
--- 14,18 ----
  use XMLTV;
  
! require './filter/Grep.pm';
  
  my $out = shift @ARGV; die "no output file given" if not defined $out;


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot