[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
small fix required in tramp.el for solaris
From: |
Gilles Pion |
Subject: |
small fix required in tramp.el for solaris |
Date: |
Wed, 6 Sep 2006 06:51:43 -0700 (PDT) |
To make tramp works on solaris I think it is needed to backslash the "^"
character in the sed commend after the "uname" command, because solaris's
/bin/sh interprets unquoted "^" as a pipe.
*** tramp.el Wed Sep 6 15:45:13 2006
--- tramp.el.ori Sun Sep 3 14:12:18 2006
***************
*** 5196,5202 ****
"^FreeBSD"
(with-connection-property vec "uname"
(tramp-send-command-and-read
! vec "(uname -sr) 2>/dev/null | sed -e s/\\^/\\\"/ -e
s/\\$/\\\"/")))
500 0))))
;; Set remote PATH variable.
(tramp-set-remote-path vec)
--- 5196,5202 ----
"^FreeBSD"
(with-connection-property vec "uname"
(tramp-send-command-and-read
! vec "(uname -sr) 2>/dev/null | sed -e s/^/\\\"/ -e s/\\$/\\\"/")))
500 0))))
;; Set remote PATH variable.
(tramp-set-remote-path vec)
--
View this message in context:
http://www.nabble.com/small-fix-required-in-tramp.el-for-solaris-tf2227148.html#a6171852
Sent from the Gnu - Tramp - Dev forum at Nabble.com.
- small fix required in tramp.el for solaris,
Gilles Pion <=