From: Roland McGrath Date: Fri, 19 May 1995 21:51:40 +0000 (+0000) Subject: Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs. X-Git-Tag: glibc-2.16-ports-before-merge~3923 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87258b84a3b76a23af2befa5cab091e6f3cab612;p=thirdparty%2Fglibc.git Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs. --- diff --git a/sysdeps/alpha/Makefile b/sysdeps/alpha/Makefile index 06621b824dd..8573ca811cf 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 $<' $@