changeset 78351:55a39357e139

(install-arch-indep): Use "rm -f" for removing DOC, to avoid an error message if there is no DOC there.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 28 Jul 2007 08:10:54 +0000
parents 00d15b089d45
children ffa73bea225c
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Jul 28 08:09:08 2007 +0000
+++ b/Makefile.in	Sat Jul 28 08:10:54 2007 +0000
@@ -478,7 +478,7 @@
 	   (cd ./etc; tar -chf - DOC*) \
 	     |(cd $(DESTDIR)${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
 	   (cd $(DESTDIR)$(docdir); chown $${LOGNAME:-$$USERNAME} DOC*; chmod a+r DOC*; \
-	    if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \
+	    if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \
 	else true; fi
 	-unset CDPATH; \
 	if [ -r ./lisp ] \