|
From: | Tino Calancha |
Subject: | Re: dired-tests.el fails on MS-Windows |
Date: | Wed, 2 Aug 2017 16:59:39 +0900 (JST) |
User-agent: | Alpine 2.20 (DEB 67 2015-01-07) |
On Wed, 2 Aug 2017, Michael Albinus wrote:
Tino Calancha <address@hidden> writes: Hi Tino.I should used 'executable-find' for a local connection. For a tramp connection i don't know how to get the 'sh' location in the remote host: i just kept '/bin/sh' for them. Michael?"/bin/sh" is OK. The feature works anyway only for methods defined in tramp-sh.el. Alternatively, one could take the value of `explicit-shell-file-name', which is prepared for connection-local variables. But I doubt, that many people use it this way already.
Thank you. I pushed in e82c4f56e6 (Don't assume /bin/sh as the 'sh' location in the local host) a fix: in the local connection check first for a non-nil value of explicit-shell-file-name to exists; otherwise it uses (executable-find "sh").
[Prev in Thread] | Current Thread | [Next in Thread] |