[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 8 years ago
parent e57a70174b
commit 9290e923d9

@ -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