From dd531b712e3f80150ffbfaba3b79cedd1c6300d1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 6 Nov 2002 05:13:29 +0000 Subject: [PATCH] (maybe_bootstrap): Add doublequotes to make it bulletproof. $bar may be empty when there are no .elc files. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."; \ -- 2.39.2