xmltv/lib ValidateGrabber.pm,1.17,1.18

Geoff <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/lib
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5126

Modified Files:
	ValidateGrabber.pm 
Log Message:
Prevent 'uninitialized value' error when run from command line

Index: ValidateGrabber.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/ValidateGrabber.pm,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** ValidateGrabber.pm	26 Jan 2011 08:10:30 -0000	1.17
--- ValidateGrabber.pm	20 Oct 2013 17:04:37 -0000	1.18
***************
*** 186,190 ****
  
      # if sharedir contains 'blib' we should prepend the relevant development paths!
!     if( $sharedir =~ m|/blib/share/$| ) {
        my( $blib )=( $sharedir =~ m|^(.*/blib)/share/$| );
  
--- 186,190 ----
  
      # if sharedir contains 'blib' we should prepend the relevant development paths!
!     if( defined $sharedir && $sharedir =~ m|/blib/share/$| ) {
        my( $blib )=( $sharedir =~ m|^(.*/blib)/share/$| );
  


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.