changeset 21467:8ff5c2a5ee26

Don't accept EMACS=t when testing for $EMACS set.
author Karl Heuer <kwzh@gnu.org>
date Fri, 10 Apr 1998 09:46:15 +0000
parents 98b189f8975f
children 05c7f6d4f628
files make-dist
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make-dist	Fri Apr 10 09:28:12 1998 +0000
+++ b/make-dist	Fri Apr 10 09:46:15 1998 +0000
@@ -91,13 +91,15 @@
 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