]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list
authorYang Tse <yangsita@gmail.com>
Sat, 17 Nov 2007 02:28:54 +0000 (02:28 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 17 Nov 2007 02:28:54 +0000 (02:28 +0000)
tests/sshserver.pl

index bdff5a9bb9d58ea24d591647e7df7c7b0d9acbf1..3a30fbe5eb305dcf7e3a0be028f8405863dd8939 100644 (file)
@@ -26,7 +26,23 @@ if ($^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys' || $^O eq 'dos' || $^O
 }
 
 # Where to look for sftp-server
-my @sftppath=qw(/usr/lib/openssh /usr/libexec/openssh /usr/libexec /usr/local/libexec /opt/local/libexec /usr/lib/ssh /usr/libexec/ssh /usr/sbin /usr/lib /usr/lib/ssh/openssh /usr/lib64/ssh /usr/lib64/misc /usr/lib/misc);
+my @sftppath = qw(
+    /usr/lib/openssh
+    /usr/libexec/openssh
+    /usr/libexec
+    /usr/local/libexec
+    /opt/local/libexec
+    /usr/lib/ssh
+    /usr/libexec/ssh
+    /usr/sbin
+    /usr/lib
+    /usr/lib/ssh/openssh
+    /usr/lib64/ssh
+    /usr/lib64/misc
+    /usr/lib/misc
+    /usr/local/sbin
+    /usr/freeware/bin
+    );
 
 my $username = $ENV{USER};