tuse path-less names for ssh, samterm. let execvp sort it out. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 5b6dcaf404353c78b4a6b34b1805d3471ce474ba (DIR) parent e6c4346b5030d843343fcdb61dc046f69ef90915 (HTM) Author: rsc <devnull@localhost> Date: Sun, 23 Nov 2003 17:51:03 +0000 use path-less names for ssh, samterm. let execvp sort it out. Diffstat: M src/cmd/sam/unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/src/cmd/sam/unix.c b/src/cmd/sam/unix.c t@@ -21,7 +21,7 @@ static Rune r3[] = {'\'', '"', '`', 0}; Rune *right[]= { r1, r2, r3, 0}; #ifndef SAMTERMNAME -#define SAMTERMNAME "/usr/local/plan9/bin/samterm" +#define SAMTERMNAME "samterm" #endif #ifndef TMPDIRNAME #define TMPDIRNAME "/tmp" t@@ -36,7 +36,7 @@ Rune *right[]= { r1, r2, r3, 0}; #define RXNAME "ssh" #endif #ifndef RXPATHNAME -#define RXPATHNAME "/usr/local/bin/ssh" +#define RXPATHNAME "ssh" #endif #ifndef SAMSAVECMDNAME #define SAMSAVECMDNAME "/bin/sh\n/usr/local/plan9/bin/samsave"