Update of /cvsroot/fink/fink/perlmod/Fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29336

Modified Files:
      Tag: branch_0_29
        ChangeLog PkgVersion.pm 
Log Message:
Avoid runtime diagnostic about setting an undef value in %ENV


Index: PkgVersion.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/PkgVersion.pm,v
retrieving revision 1.622.2.2
retrieving revision 1.622.2.3
diff -u -d -r1.622.2.2 -r1.622.2.3
--- PkgVersion.pm       17 Apr 2009 16:04:37 -0000      1.622.2.2
+++ PkgVersion.pm       11 May 2009 06:16:34 -0000      1.622.2.3
@@ -4945,7 +4945,7 @@
        }
 
        # preserve TERM
-       $script_env{"TERM"} = $ENV{"TERM"};
+       $script_env{"TERM"} = $ENV{"TERM"} if exists $ENV{"TERM"};
 
        # set variables according to the info file
        my $expand = $self->{_expand};

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1592.2.8
retrieving revision 1.1592.2.9
diff -u -d -r1.1592.2.8 -r1.1592.2.9
--- ChangeLog   8 May 2009 17:40:45 -0000       1.1592.2.8
+++ ChangeLog   11 May 2009 06:16:34 -0000      1.1592.2.9
@@ -1,3 +1,7 @@
+2009-05-11  Daniel Macks  <dma...@netspace.org>
+
+       * PkgVersion.pm: Don't store undef env var.
+
 2009-05-08  Dave Morrison  <d...@finkproject.org>
 
        * Services.pm: dpkg_lockwait now specifies the full path to the


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to