summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xhooks/post-up/emacs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs
index 53de6dad..05a5c9d1 100755
--- a/hooks/post-up/emacs
+++ b/hooks/post-up/emacs
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-EMACS_COMMAND=$(which Emacs || which emacs)
+EMACS_COMMAND=$(command -v Emacs || command -v emacs)
 
 if [[ -s $EMACS_COMMAND ]]
 then