From 87258b84a3b76a23af2befa5cab091e6f3cab612 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 19 May 1995 21:51:40 +0000 Subject: [PATCH] Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs. --- sysdeps/alpha/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 06621b8..8573ca8 100644 --- a/sysdeps/alpha/Makefile +++ b/sysdeps/alpha/Makefile @@ -91,4 +91,4 @@ $(divrem:%=$(sysdep_dir)/alpha/%.S): $(sysdep_dir)/alpha/divrem.m4 $(sysdep_dir) # Make it unwritable so noone will edit it by mistake. -chmod a-w $@-tmp mv -f $@-tmp $@ - test -d CVS && cvs commit -m'Regenerated from $<' $@ + test ! -d CVS || cvs commit -m'Regenerated from $<' $@ -- 2.7.4