Skip to content

Commit

Permalink
Put in a dummy pathname if no system SDKs are found to avoid "Use of …
Browse files Browse the repository at this point in the history
…uninitialized value $sdkpath in concatenation (.) or string at /sw/lib/perl5/Fink/VirtPackage.pm line 701."
  • Loading branch information
akhansen committed Mar 29, 2012
1 parent 9a4f0a9 commit 131df2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perlmod/Fink/VirtPackage.pm
Expand Up @@ -666,6 +666,7 @@ as part of the Xcode tools.
last if $sdkpath;
}
}
$sdkpath="/not/a/real/path" if !$sdkpath;
for my $dir (sort @SDKDIRS) {
my $isuniversal = 0;
if ($dir =~ /MacOSX([\d\.]+)(u?)\.sdk/) {
Expand Down

0 comments on commit 131df2a

Please sign in to comment.