fix shebang

This commit is contained in:
chrunchyjesus 2019-06-08 07:13:19 +02:00
parent 69a8e15d8f
commit 9236999df1
No known key found for this signature in database
GPG key ID: B08FE1F00D141D19

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env sh
":"; ( echo "$EMACS" | grep -q "term" ) && EMACS=emacs || EMACS=${EMACS:-emacs} # -*-emacs-lisp-*- ":"; ( echo "$EMACS" | grep -q "term" ) && EMACS=emacs || EMACS=${EMACS:-emacs} # -*-emacs-lisp-*-
":"; command -v $EMACS >/dev/null || { >&2 echo "Emacs isn't installed"; exit 1; } ":"; command -v $EMACS >/dev/null || { >&2 echo "Emacs isn't installed"; exit 1; }
":"; VERSION=$($EMACS --version | head -n1) ":"; VERSION=$($EMACS --version | head -n1)