(compile): Append "|| true" to the end of the `find' command, like
authorEli Zaretskii <eliz@gnu.org>
Wed, 8 Feb 2006 17:32:09 +0000 (17:32 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 8 Feb 2006 17:32:09 +0000 (17:32 +0000)
compile-always does.

lisp/ChangeLog
lisp/Makefile.in

index c607ca3..2dabb69 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-08  Mathias Megyei  <Mathias.Megyei@micronas.com>  (tiny change)
+
+       * Makefile.in (compile): Append "|| true" to the end of the `find'
+       command, like compile-always does.
+
 2006-02-08  Sam Steingold  <sds@gnu.org>
 
        * net/tramp.el (tramp-maybe-open-connection): Do not wait for
index 8c60b71..e90c616 100644 (file)
@@ -153,8 +153,10 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
 # 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|'`; \