summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-04-10 09:46:15 +0000
committerKarl Heuer <kwzh@gnu.org>1998-04-10 09:46:15 +0000
commitbf1a5da6159b7e2b2d2d6124a83d509f302ef082 (patch)
treeac7d1a48a0f391cc353e86431eabbe8b3541b299 /make-dist
parentdde2b1f783adf54a6b6eeef9997f3ade6374f32a (diff)
downloademacs-bf1a5da6159b7e2b2d2d6124a83d509f302ef082.tar.gz
Don't accept EMACS=t when testing for $EMACS set.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist4
1 files changed, 3 insertions, 1 deletions
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