about summary refs log tree commit diff
path: root/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 6931727288..5c3d9a0fb2 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -70,13 +70,13 @@ glob/%.h: %.h
 
 glob/configure: glob/configure.in
 	cd glob; autoconf $(ACFLAGS)
-	test -d CVS && cvs commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
+	test ! -d CVS || cvs commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
 
 glob/ChangeLog: ../ChangeLog
 	changelog-extract --regexp 'posix/(glob|fnmatch).*' < $< > $@.new
 	chmod a-w $@.new
 	mv -f $@.new $@
-	test -d CVS && cvs commit -mRegenerated $@
+	test ! -d CVS || cvs commit -mRegenerated $@
 
 %.Z: %
 	compress -c $< > $@-tmp