Skip to content

Commit

Permalink
Item13079: Bootstrap unit tests fail -
Browse files Browse the repository at this point in the history
Not all platforms define ENV{PATH}
  • Loading branch information
gac410 committed Nov 27, 2014
1 parent 04d4b2c commit 1aacf58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Configure/Load.pm
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,8 @@ sub _bootstrapStoreSettings {
"AUTOCONFIG: Detected FastCGI or MS Windows. {Store}{SearchAlgorithm} set to PurePerl\n";
}
else {
( $ENV{PATH} ) = $ENV{PATH} =~ m/^(.*)$/; # Untaint the path
( $ENV{PATH} ) = $ENV{PATH} =~ m/^(.*)$/
if defined $ENV{PATH}; # Untaint the path
`grep -V 2>&1`;
if ($!) {
print STDERR
Expand Down

0 comments on commit 1aacf58

Please sign in to comment.