Skip to content

Commit

Permalink
Don't accept EMACS=t when testing for $EMACS set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Heuer committed Apr 10, 1998
1 parent dde2b1f commit bf1a5da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make-dist
Expand Up @@ -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
Expand Down

0 comments on commit bf1a5da

Please sign in to comment.