summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-30 14:47:08 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-30 14:48:01 +0000
commit40434e566e5281c5243c1510ecffcc66d45921c1 (patch)
tree3665661ecd7f7554dfc5cf6296b3231abb33b40b
parenta2bb79844fa9ef0a24a5930c88f6abd97180b9fa (diff)
downloadcoreutils-40434e566e5281c5243c1510ecffcc66d45921c1.tar.xz
maint: avoid "make distcheck" failure without excess .deps directories
* Makefile.am (my-distcheck): Add the -r option to xargs so that rmdir doesn't return an error when there are no extraneous .deps dirs.
-rw-r--r--dist-check.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist-check.mk b/dist-check.mk
index 9f8db1345..afa24bfd8 100644
--- a/dist-check.mk
+++ b/dist-check.mk
@@ -123,7 +123,7 @@ my-distcheck: $(DIST_ARCHIVES) $(local-check)
# With post-v1.15 automake, "distclean" would fail to remove .deps
# directories, leading to a spurious failure of the following recursive diff.
# FIXME: remove this, once automake is fixed.
- find $(t)/$(distdir).old $(t)/$(distdir) -name .deps | xargs rmdir
+ find $(t)/$(distdir).old $(t)/$(distdir) -name .deps | xargs -r rmdir
diff -ur $(t)/$(distdir).old $(t)/$(distdir)
-rm -rf $(t)
rmdir $(tmpdir)/$(PACKAGE) $(tmpdir)