changeset 68729:fbaf1c0fb4da

(compile): Append "|| true" to the end of the `find' command, like compile-always does.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 08 Feb 2006 17:31:23 +0000
parents 8ade2193499c
children 958f55f8474d
files lisp/Makefile.in
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile.in	Wed Feb 08 17:10:39 2006 +0000
+++ b/lisp/Makefile.in	Wed Feb 08 17:31:23 2006 +0000
@@ -153,8 +153,10 @@
 # subdirectories, to make sure require's and load's in the files being
 # compiled find the right files.
 
+# `|| true' below prevents old Bash versions from getting confused
+# by an error.
 compile: $(lisp)/subdirs.el mh-autoloads doit
-	find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \
+	find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \
 	wd=$(lisp); $(setwins);	\
 	els=`echo $$wins | tr ' \011' '\012\012' | \
 		sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`;	\