summaryrefslogtreecommitdiff
path: root/examples/l2fwd-cat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l2fwd-cat/Makefile')
-rw-r--r--examples/l2fwd-cat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile
index fb3c4bc..b4f729a 100644
--- a/examples/l2fwd-cat/Makefile
+++ b/examples/l2fwd-cat/Makefile
@@ -37,7 +37,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