]> code.delx.au - gnu-emacs/commitdiff
(maybe_bootstrap): Add doublequotes to make it bulletproof.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 Nov 2002 05:13:29 +0000 (05:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 Nov 2002 05:13:29 +0000 (05:13 +0000)
$bar may be empty when there are no .elc files.

Makefile.in

index e972e4b252423d2c101cb7f72f01a740baf3ea03..7640d911129a11ca8be6412c2cc9558bd68e04cb 100644 (file)
@@ -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."; \