diff Makefile.in @ 48175:702b483d4de7

(maybe_bootstrap): Add doublequotes to make it bulletproof. $bar may be empty when there are no .elc files.
author Richard M. Stallman <rms@gnu.org>
date Wed, 06 Nov 2002 05:13:29 +0000
parents 36a83e5558ed
children f53a6c75be8a
line wrap: on
line diff
--- a/Makefile.in	Wed Nov 06 05:11:59 2002 +0000
+++ b/Makefile.in	Wed Nov 06 05:13:29 2002 +0000
@@ -715,8 +715,8 @@
 .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."; \