Whamcloud - gitweb
blkid: Avoid a potentially error message when running "make clean"
authorTheodore Ts'o <tytso@mit.edu>
Sun, 4 Oct 2009 02:33:47 +0000 (22:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 4 Oct 2009 02:33:47 +0000 (22:33 -0400)
This error isn't terribly important, but apparently it causes some
users/developers distress.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/Makefile.in

index 9169226..9339718 100644 (file)
@@ -181,7 +181,8 @@ clean::
                tests/*.img results test_probe core profiled/* \
                checker/* blkid_types.h ../libblkid.a ../libblkid_p.a \
                $(SMANPAGES) blkid
-       -rmdir tests
+       @echo rmdir tests/tmp tests
+       @(rmdir tests/tmp tests 2> /dev/null ; exit 0)
 
 mostlyclean:: clean
 distclean:: clean