commit 5b6dcaf404353c78b4a6b34b1805d3471ce474ba from: rsc date: Sun Nov 23 17:51:03 2003 UTC use path-less names for ssh, samterm. let execvp sort it out. commit - e6c4346b5030d843343fcdb61dc046f69ef90915 commit + 5b6dcaf404353c78b4a6b34b1805d3471ce474ba blob - 3846359e6ee59476dad85f58c09fbedda69eef3d blob + 024d30812be452642a39e7c1c626a0035c568939 --- src/cmd/sam/unix.c +++ src/cmd/sam/unix.c @@ -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" @@ -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"