unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Make the shell location configurable
@ 2017-08-14 22:36 Robert Ewald
  2017-08-15 13:53 ` Tomi Ollila
  2017-08-15 16:02 ` David Bremner
  0 siblings, 2 replies; 11+ messages in thread
From: Robert Ewald @ 2017-08-14 22:36 UTC (permalink / raw)
  To: notmuch; +Cc: Robert Ewald

The location of the shell is not always /bin/sh. Use the
shell-file-name variable to be able to specify the shell location.
---
 emacs/notmuch-lib.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 337b20ac..8dffe9f2 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -921,7 +921,7 @@ status."
 	 (command (or (executable-find notmuch-command)
 		      (error "command not found: %s" notmuch-command)))
 	 (proc (apply #'start-process name buffer
-		      "/bin/sh" "-c"
+		      shell-file-name "-c"
 		      "exec 2>\"$1\"; shift; exec \"$0\" \"$@\""
 		      command err-file args)))
     (process-put proc 'err-file err-file)
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-08-17 21:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 22:36 [PATCH] emacs: Make the shell location configurable Robert Ewald
2017-08-15 13:53 ` Tomi Ollila
2017-08-15 16:02 ` David Bremner
2017-08-15 20:04   ` Robert Ewald
2017-08-15 23:38     ` David Bremner
2017-08-16  7:17       ` Robert Ewald
2017-08-16 11:09         ` David Bremner
2017-08-16 20:16           ` Robert Ewald
2017-08-17 11:44             ` David Bremner
2017-08-17 12:15               ` Tomi Ollila
2017-08-17 21:46               ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).