changeset 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 ca63c953d54b
children 4b1d8ea79699
files Makefile.in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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."; \