add scp path to _PATH_STDPATH

Kevin Steves stevesk at sweden.hp.com
Wed Feb 14 09:03:20 EST 2001


On Tue, 13 Feb 2001, Tim Rice wrote:
: I have a good patch in my 2.2.0p1 code that I can bring forward.
: I probably will not be able to work on it until the weekend.

how was it different from the patch i posted?

Index: Makefile.in
===================================================================
RCS file: /var/cvs/openssh/Makefile.in,v
retrieving revision 1.150
diff -u -r1.150 Makefile.in
--- Makefile.in	2001/02/09 13:40:03	1.150
+++ Makefile.in	2001/02/12 14:47:51
@@ -17,11 +17,13 @@
 SSH_PROGRAM=@bindir@/ssh
 ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
 SFTP_SERVER=$(libexecdir)/sftp-server
+PATH_SCP=$(bindir)

 PATHS= -DETCDIR=\"$(sysconfdir)\" \
 	-D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
 	-D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \
-	-D_PATH_SFTP_SERVER=\"$(SFTP_SERVER)\"
+	-D_PATH_SFTP_SERVER=\"$(SFTP_SERVER)\" \
+	-D_PATH_SCP=\"$(PATH_SCP)\"

 CC=@CC@
 LD=@LD@
Index: defines.h
===================================================================
RCS file: /var/cvs/openssh/defines.h,v
retrieving revision 1.54
diff -u -r1.54 defines.h
--- defines.h	2001/02/09 11:55:17	1.54
+++ defines.h	2001/02/12 14:47:53
@@ -267,7 +267,7 @@
 #endif

 #ifndef _PATH_STDPATH
-# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
+# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" ":" _PATH_SCP
 #endif

 #ifndef _PATH_DEVNULL







More information about the openssh-unix-dev mailing list