Skip to content

Commit 7c0b6e5

Browse files
SeanTAllenjemc
authored andcommitted
Fix broken make clean (ponylang#1367)
dtrace_probes.h won't always be present. Use `-f` to remove if present and otherwise, don't error out.
1 parent 349af4e commit 7c0b6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ stats:
719719

720720
clean:
721721
@rm -rf $(PONY_BUILD_DIR)
722-
@rm src/common/dtrace_probes.h
722+
@rm -f src/common/dtrace_probes.h
723723
-@rmdir build 2>/dev/null ||:
724724
@echo 'Repository cleaned ($(PONY_BUILD_DIR)).'
725725

0 commit comments

Comments
 (0)