mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
* net/tramp-sh.el (tramp-find-shell): Apply workaround also for
"SunOS 5.10".
This commit is contained in:
parent
f8f91c2ba8
commit
0c33dd17ea
@ -1,3 +1,8 @@
|
||||
2011-06-04 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/tramp-sh.el (tramp-find-shell): Apply workaround also for
|
||||
"SunOS 5.10".
|
||||
|
||||
2011-06-04 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
|
||||
|
@ -3641,9 +3641,11 @@ file exists and nonzero exit status otherwise."
|
||||
(tramp-send-command vec "echo ~root" t)
|
||||
(cond
|
||||
((or (string-match "^~root$" (buffer-string))
|
||||
;; The default shell (ksh93) of OpenSolaris is buggy.
|
||||
(string-equal (tramp-get-connection-property vec "uname" "")
|
||||
"SunOS 5.11"))
|
||||
;; The default shell (ksh93) of OpenSolaris and Solaris
|
||||
;; is buggy. We've got reports for "SunOS 5.10" and
|
||||
;; "SunOS 5.11" so far.
|
||||
(string-match (regexp-opt '("SunOS 5.10" "SunOS 5.11"))
|
||||
(tramp-get-connection-property vec "uname" "")))
|
||||
(setq shell
|
||||
(or (tramp-find-executable
|
||||
vec "bash" (tramp-get-remote-path vec) t t)
|
||||
|
Loading…
Reference in New Issue
Block a user