[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.2.11-24.5); tramp broken against FreeBSD sh
From: |
Michael Albinus |
Subject: |
Re: tramp (2.2.11-24.5); tramp broken against FreeBSD sh |
Date: |
Tue, 22 Dec 2015 11:41:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Augie Fackler <address@hidden> writes:
Hi Augie,
> Is there any knob I can adjust that would let me not pass -l to the sh
> instance? This particular machine has bash installed, but not all of
> the ones I talk to do, and not losing tramp-own-remote-path would be
> nice in those instances.
Likely, it is sufficient for you to apply the following patch:
--8<---------------cut here---------------start------------->8---
*** /usr/share/emacs/24.5/lisp/net/tramp-sh.el.orig 2015-12-22
11:37:44.438987596 +0100
--- /usr/share/emacs/24.5/lisp/net/tramp-sh.el 2015-12-22 11:37:44.506988476
+0100
***************
*** 5056,5062 ****
(tramp-file-name-method vec) 'tramp-remote-shell-args)
" ")
(tramp-shell-quote-argument tramp-end-of-heredoc))
! nil (regexp-quote tramp-end-of-heredoc)))))
;; Replace place holder `tramp-default-remote-path'.
(when elt1
--- 5056,5062 ----
(tramp-file-name-method vec) 'tramp-remote-shell-args)
" ")
(tramp-shell-quote-argument tramp-end-of-heredoc))
! 'noerror (regexp-quote tramp-end-of-heredoc)))))
;; Replace place holder `tramp-default-remote-path'.
(when elt1
--8<---------------cut here---------------end--------------->8---
> Thanks for the quick response!
>
> Augie
Best regards, Michael.