X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=configure.pl;h=28c4b8661f007dc309e8d3870b6a1144c8e001be;hp=4b97fa75f7078238deb0578cf919845fed467777;hb=dcde0725fd46cdfe126eb385a1eb356df636bbec;hpb=f076585d3ff9dfe6de32292b897e293008efe74e diff --git a/configure.pl b/configure.pl index 4b97fa7..28c4b86 100755 --- a/configure.pl +++ b/configure.pl @@ -19,7 +19,7 @@ # Craig Barratt # # COPYRIGHT -# Copyright (C) 2001-2007 Craig Barratt +# Copyright (C) 2001-2010 Craig Barratt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -266,7 +266,7 @@ my %Programs = ( foreach my $prog ( sort(keys(%Programs)) ) { my $path; foreach my $subProg ( split(/\//, $prog) ) { - $path = FindProgram("$ENV{PATH}:/bin:/usr/bin:/sbin:/usr/sbin", + $path = FindProgram("$ENV{PATH}:/usr/bin:/bin:/sbin:/usr/sbin", $subProg) if ( !length($path) ); } $Conf{$Programs{$prog}} = $path if ( !length($Conf{$Programs{$prog}}) ); @@ -472,12 +472,12 @@ if ( $Conf{CgiDir} ne "" ) { print < @@ -1309,7 +1309,7 @@ Craig Barratt =head1 COPYRIGHT -Copyright (C) 2001-2007 Craig Barratt. +Copyright (C) 2001-2010 Craig Barratt. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by