summaryrefslogtreecommitdiff
path: root/examples/vhost_scsi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vhost_scsi/Makefile')
-rw-r--r--examples/vhost_scsi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vhost_scsi/Makefile b/examples/vhost_scsi/Makefile
index 0a3450b..813ab66 100644
--- a/examples/vhost_scsi/Makefile
+++ b/examples/vhost_scsi/Makefile
@@ -38,7 +38,7 @@ build:
.PHONY: clean
clean:
rm -f build/$(APP) build/$(APP)-static build/$(APP)-shared
- rmdir --ignore-fail-on-non-empty build
+ test -d build && rmdir -p build || true
else # Build using legacy build system