# HG changeset patch # User Karl Heuer # Date 892201575 0 # Node ID 8ff5c2a5ee261f1665dda9f772545de128524616 # Parent 98b189f8975f54f9b9b867f452c09c42bb615570 Don't accept EMACS=t when testing for $EMACS set. diff -r 98b189f8975f -r 8ff5c2a5ee26 make-dist --- 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