changeset 82186:9cbc38ee05d2

(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:12:44 +0000
parents 60a0f1fabb5a
children c3f6190f1d00
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Jul 28 07:47:37 2007 +0000
+++ b/Makefile.in	Sat Jul 28 08:12:44 2007 +0000
@@ -483,7 +483,7 @@
 	   (cd ./etc; tar -chf - $${docfile}) \
 	     |(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 ] \