Browse Source

[tests] fix warning about newline in filename

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3021 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.37
Stefan Bühler 7 years ago
parent
commit
9290e923d9
  1. 1
      tests/LightyTest.pm

1
tests/LightyTest.pm

@ -17,6 +17,7 @@ sub find_program {
$location = $ENV{$envname};
} else {
$location = `which "$program" 2>/dev/null`;
chomp $location;
if (! -x $location) {
for my $path (@DEFAULT_PATHS) {
$location = $path . $program;

Loading…
Cancel
Save