mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix bug in `tramp-find-executable'
* lisp/net/tramp-sh.el (tramp-find-executable): Use "command -v", preserving non-standard PATH search. Bug#78633)
This commit is contained in:
parent
f0bec20ac5
commit
30c2ef6d6a
1 changed files with 1 additions and 1 deletions
|
|
@ -4124,7 +4124,7 @@ This function expects to be in the right *tramp* buffer."
|
|||
(setq newdl (cons d newdl))))
|
||||
(setq dirlist (nreverse newdl))))
|
||||
(when (tramp-send-command-and-check
|
||||
vec (format "(unalias %s; %s command -pv %s)"
|
||||
vec (format "(unalias %s; %s command -v %s)"
|
||||
progname
|
||||
(if dirlist (concat "PATH=" (string-join dirlist ":")) "")
|
||||
progname))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue