X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=configure.pl;h=28c4b8661f007dc309e8d3870b6a1144c8e001be;hp=c62787a81e38681ee554c80898cd77e6da362b93;hb=74baa820fab5e1a03551526f0e9e671d9f74de03;hpb=1015740e2b58fc43d7cf49881f190a9612e73fff diff --git a/configure.pl b/configure.pl index c62787a..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}}) ); @@ -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