Skip to content

Commit f5cd349

Browse files
authored
Apply suggestion from @mohawk2
1 parent 0b41006 commit f5cd349

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Makefile.PL

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ sub compileAndRun {
114114
my ($code) = @_;
115115
my $result;
116116

117-
my @inc = shellwords($plplot_include_path);
118-
@inc = grep {/^-I/ } @inc;
119-
my $inc = join " ", @inc;
117+
my $inc = join " ", grep /^-I/, shellwords($plplot_include_path);
120118

121119
check_lib(
122120
ccflags => "$plplot_include_path",

0 commit comments

Comments
 (0)