aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist17
1 files changed, 10 insertions, 7 deletions
diff --git a/make-dist b/make-dist
index 70063c22164..0f23a0d3af1 100755
--- a/make-dist
+++ b/make-dist
@@ -120,8 +120,7 @@ if [ ! -d src -o ! -f src/lisp.h -o ! -d lisp -o ! -f lisp/version.el ]; then
120fi 120fi
121 121
122### Find where to run Emacs. 122### Find where to run Emacs.
123### (We don't accept EMACS=t as an answer, since that probably only means 123### (Accept only absolute file names.)
124### that the shell is running in an Emacs window.)
125if [ $update = yes ]; 124if [ $update = yes ];
126then 125then
127 unset EMACS_UNIBYTE 126 unset EMACS_UNIBYTE
@@ -129,11 +128,15 @@ then
129 then 128 then
130 EMACS=`pwd`/src/emacs 129 EMACS=`pwd`/src/emacs
131 else 130 else
132 if [ "x$EMACS" = "x" -o "x$EMACS" = "xt" ]; 131 case $EMACS in
133 then 132 /*) ;;
134 echo You must specify the EMACS environment variable 2>&1 133 *)
135 exit 1 134 if [ ! -f "$EMACS" ]; then
136 fi 135 echo "$0: You must specify the EMACS environment variable " \
136 "to an absolute file name." 2>&1
137 exit 1
138 fi;;
139 esac
137 fi 140 fi
138fi 141fi
139 142