Don't accept EMACS=t when testing for $EMACS set.
This commit is contained in:
parent
23cec91f9a
commit
fcea5346fb
1 changed files with 3 additions and 1 deletions
|
@ -91,13 +91,15 @@ if [ ! -d src -o ! -f src/lisp.h -o ! -d lisp -o ! -f lisp/version.el ]; then
|
|||
fi
|
||||
|
||||
### Find where to run Emacs.
|
||||
### (We don't accept EMACS=t as an answer, since that probably only means
|
||||
### that the shell is running in an Emacs window.)
|
||||
if [ $update = yes ];
|
||||
then
|
||||
if [ -f src/emacs ];
|
||||
then
|
||||
EMACS=`pwd`/src/emacs
|
||||
else
|
||||
if [ x$EMACS = x ];
|
||||
if [ "x$EMACS" = "x" -o "x$EMACS" = "xt" ];
|
||||
then
|
||||
echo You must specify the EMACS environment variable 2>&1
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue