Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0c33dd17
Commit
0c33dd17
authored
Jun 04, 2011
by
Michael Albinus
Browse files
* net/tramp-sh.el (tramp-find-shell): Apply workaround also for
"SunOS 5.10".
parent
f8f91c2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp-sh.el
lisp/net/tramp-sh.el
+5
-3
No files found.
lisp/ChangeLog
View file @
0c33dd17
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)
...
...
lisp/net/tramp-sh.el
View file @
0c33dd17
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment