diff options
Diffstat (limited to 'package/nbd')
-rw-r--r-- | package/nbd/nbd.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package/nbd/nbd.mk b/package/nbd/nbd.mk index 65432bf2f..80ee2b8b4 100644 --- a/package/nbd/nbd.mk +++ b/package/nbd/nbd.mk @@ -42,9 +42,8 @@ nbd: uclibc $(TARGET_DIR)/sbin/nbd-client nbd-source: $(DL_DIR)/$(NBD_SOURCE) nbd-clean: - @if [ -d $(NBD_DIR)/Makefile ]; then \ - $(MAKE) -C $(NBD_DIR) clean; \ - fi + rm -f $(TARGET_DIR)/sbin/nbd-client + -$(MAKE) -C $(NBD_DIR) clean nbd-dirclean: rm -rf $(NBD_DIR) |