Mercurial > emacs
comparison make-dist @ 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 | 9293d783c708 |
children | d929ae6f35d3 |
comparison
equal
deleted
inserted
replaced
21466:98b189f8975f | 21467:8ff5c2a5ee26 |
---|---|
89 echo "distribution tree. cd to that directory and try again." >&2 | 89 echo "distribution tree. cd to that directory and try again." >&2 |
90 exit 1 | 90 exit 1 |
91 fi | 91 fi |
92 | 92 |
93 ### Find where to run Emacs. | 93 ### Find where to run Emacs. |
94 ### (We don't accept EMACS=t as an answer, since that probably only means | |
95 ### that the shell is running in an Emacs window.) | |
94 if [ $update = yes ]; | 96 if [ $update = yes ]; |
95 then | 97 then |
96 if [ -f src/emacs ]; | 98 if [ -f src/emacs ]; |
97 then | 99 then |
98 EMACS=`pwd`/src/emacs | 100 EMACS=`pwd`/src/emacs |
99 else | 101 else |
100 if [ x$EMACS = x ]; | 102 if [ "x$EMACS" = "x" -o "x$EMACS" = "xt" ]; |
101 then | 103 then |
102 echo You must specify the EMACS environment variable 2>&1 | 104 echo You must specify the EMACS environment variable 2>&1 |
103 exit 1 | 105 exit 1 |
104 fi | 106 fi |
105 fi | 107 fi |