From: Richard M. Stallman Date: Wed, 6 Nov 2002 05:13:29 +0000 (+0000) Subject: (maybe_bootstrap): Add doublequotes to make it bulletproof. X-Git-Tag: ttn-vms-21-2-B4~12577 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd531b712e3f80150ffbfaba3b79cedd1c6300d1;p=emacs.git (maybe_bootstrap): Add doublequotes to make it bulletproof. $bar may be empty when there are no .elc files. --- diff --git a/Makefile.in b/Makefile.in index e972e4b2524..7640d911129 100644 --- a/Makefile.in +++ b/Makefile.in @@ -715,8 +715,8 @@ dvi: .PHONY: maybe_bootstrap maybe_bootstrap: - @bar=`echo ./lisp/*.elc`; \ - if [ "$bar" = './lisp/*.elc' ]; then \ + @bar="`echo ./lisp/*.elc`"; \ + if [ \( "$(bar)" = './lisp/*.elc' \) -o \( "$(bar)" = '' \) ]; then \ echo "Your tree does not include the compiled Lisp files."; \ echo "You need to do \`make bootstrap' to build Emacs."; \ echo "Emacs now requires Texinfo version 4.2."; \