Skip to content

Commit

Permalink
Quiet an "uninitialized value in string" warning in PLplot Makefile.PL
Browse files Browse the repository at this point in the history
Warning issued since $ENV{PLPLOT_INCDIR} not defined on all machines.
  • Loading branch information
d-lamb committed Feb 4, 2015
1 parent c958a32 commit f5a1be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Graphics/PLplot/Makefile.PL
Expand Up @@ -113,7 +113,7 @@ foreach my $incdir (
# Add new header paths here!!
) {

if (-e "$incdir/$incname") {
if (defined($incdir) && -e "$incdir/$incname") {
$plplot_include_path = "-I$incdir";
if ($incdir =~ m|/plplot$|) {
my $inc2 = $incdir;
Expand Down

0 comments on commit f5a1be8

Please sign in to comment.