btrfs-progs: build: use rm for cleaning build directory

'make clean' can fail in case the _build directory is not present, can
be observed with the build-tests.sh. Use plain 'rm -fd'.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2022-02-09 18:28:59 +01:00
parent 7421398be8
commit f1e54a0c09

View File

@ -53,7 +53,7 @@ uninstall:
clean:
$(QUIET_RM)$(RM) -rf $(BUILDDIR)/*
$(QUIET_RM)$(RMDIR) -- $(BUILDDIR)
$(QUIET_RM)$(RM) -df -- $(BUILDDIR)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).