projects
/
perl.git
/ commitdiff
free
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b132e3d
)
$Config{locincpath} might be empty
author
H.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 15 Nov 2011 16:07:56 +0000 (17:07 +0100)
committer
H.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 15 Nov 2011 16:07:56 +0000 (17:07 +0100)
This causes h2xs.t to fail on systems where that is the case
utils/h2xs.PL
patch
|
blob
|
blame
|
history
diff --git
a/utils/h2xs.PL
b/utils/h2xs.PL
index
634e891
..
6239f8f
100644
(file)
--- a/
utils/h2xs.PL
+++ b/
utils/h2xs.PL
@@
-789,7
+789,7
@@
if( @path_h ){
}
else {
@paths = (File::Spec->curdir(), $Config{usrinc},
- (split ' ', $Config{locincpth}), '/usr/include');
+ (split / +/, $Config{locincpth} // ""), '/usr/include');
}
foreach my $path_h (@path_h) {
$name ||= $path_h;