[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-commits
Subject:    [fink/fink] aab32f: fix string concat errors from JDK dir names
From:       Benjamin Reed <rangerrick () befunk ! com>
Date:       2013-12-09 20:14:58
Message-ID: 52a624c23b7da_15df55fd48870b () hookshot-fe4-pe1-prd ! aws ! github ! net ! mail
[Download RAW message or body]

Branch: refs/heads/master
  Home:   https://github.com/fink/fink
  Commit: aab32fb2f33eacbba44d895fa003a92f62e135b5
      https://github.com/fink/fink/commit/aab32fb2f33eacbba44d895fa003a92f62e135b5
  Author: Benjamin Reed <rangerrick@befunk.com>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M perlmod/Fink/VirtPackage.pm

  Log Message:
  -----------
  fix string concat errors from JDK dir names

I have a number of funkily-named JDKs that aren't meant to be
picked up by fink, which cause output like this:

Use of uninitialized value $java_inc_dir in substitution (s///) at \
/sw/lib/perl5/Fink/VirtPackage.pm line 410. Use of uninitialized value $dir in \
concatenation (.) or string at /sw/lib/perl5/Fink/VirtPackage.pm line 420. Use of \
uninitialized value $dir in concatenation (.) or string at \
/sw/lib/perl5/Fink/VirtPackage.pm line 421. Use of uninitialized value $dir in \
concatenation (.) or string at /sw/lib/perl5/Fink/VirtPackage.pm line 427. Use of \
uninitialized value $dir in pattern match (m//) at /sw/lib/perl5/Fink/VirtPackage.pm \
line 433.

This patch tells fink to print a warning (if debug enabled)
and skip those JDKs.



------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk

_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic