From: Karl Heuer Date: Fri, 10 Apr 1998 09:46:15 +0000 (+0000) Subject: Don't accept EMACS=t when testing for $EMACS set. X-Git-Tag: emacs-20.3~1607 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fcea5346fbe165640dd3931aafdb596c762c7148;p=emacs.git Don't accept EMACS=t when testing for $EMACS set. --- diff --git a/make-dist b/make-dist index 97eaacd6318..8182f70106b 100755 --- a/make-dist +++ b/make-dist @@ -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