linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] blkid/Makefile.in: ignore rmdir non-empty dir error
@ 2009-09-28 10:57 Peng Tao
  2009-10-04  2:29 ` Theodore Tso
  2009-10-04  2:47 ` Theodore Tso
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Tao @ 2009-09-28 10:57 UTC (permalink / raw)
  To: linux-ext4; +Cc: Theodore Ts'o, Peng Tao

Otherwise, make clean returns the following error, which is missleading.
rmdir tests
rmdir: failed to remove `tests': Directory not empty
make: [clean] Error 1 (ignored)

Signed-off-by: Peng Tao <bergwolf@gmail.com>
---
 lib/blkid/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/blkid/Makefile.in b/lib/blkid/Makefile.in
index 9169226..618c0b2 100644
--- a/lib/blkid/Makefile.in
+++ b/lib/blkid/Makefile.in
@@ -181,7 +181,7 @@ clean::
 		tests/*.img results test_probe core profiled/* \
 		checker/* blkid_types.h ../libblkid.a ../libblkid_p.a \
 		$(SMANPAGES) blkid
-	-rmdir tests
+	-rmdir --ignore-fail-on-non-empty tests
 
 mostlyclean:: clean
 distclean:: clean
-- 
1.6.5.rc2.262.g5224f


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-04  2:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 10:57 [PATCH] blkid/Makefile.in: ignore rmdir non-empty dir error Peng Tao
2009-10-04  2:29 ` Theodore Tso
2009-10-04  2:47 ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).