summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.in4
-rw-r--r--scp.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 61c08bc35..3493db72b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -78,6 +78,8 @@
78 - markus@cvs.openbsd.org 2000/10/13 13:12:02 78 - markus@cvs.openbsd.org 2000/10/13 13:12:02
79 [myproposal.h] 79 [myproposal.h]
80 prefer no compression 80 prefer no compression
81 - (djm) Fix scp user@host handling
82 - (djm) Don't clobber ssh_prng_cmds on install
81 83
8220001007 8420001007
83 - (stevesk) Print PAM return value in PAM log messages to aid 85 - (stevesk) Print PAM return value in PAM log messages to aid
diff --git a/Makefile.in b/Makefile.in
index af0886cde..9969a5216 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -154,7 +154,9 @@ install-files:
154 fi 154 fi
155 if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \ 155 if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \
156 $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \ 156 $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \
157 $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \ 157 if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \
158 $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \
159 fi ; \
158 fi 160 fi
159 161
160host-key: ssh-keygen$(EXEEXT) 162host-key: ssh-keygen$(EXEEXT)
diff --git a/scp.c b/scp.c
index 40cf72963..8d5a251b5 100644
--- a/scp.c
+++ b/scp.c
@@ -179,7 +179,7 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc)
179 179
180 args.list[0] = ssh_program; 180 args.list[0] = ssh_program;
181 if (remuser != NULL) 181 if (remuser != NULL)
182 addargs("-l %s", remuser); 182 addargs("-l%s", remuser);
183 addargs("%s", host); 183 addargs("%s", host);
184 addargs("%s", cmd); 184 addargs("%s", cmd);
185 185