[FIX] Update dangerous makefile clean command

In the corner case that the tmp directory would not be created, the old
form could attempt to delete much more than intended. This changes to
more simply fail in the case of a missing tmp directory

Change-Id: I3a4cd800e329cd477904d00f6dcb77bbbc2ff90b
This commit is contained in:
Bryan Strassner 2018-08-29 08:00:51 -05:00
parent 0b6f702014
commit 5e542cef0b
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ endif
.PHONY: clean
clean:
rm -rf $(BUILD_DIR)/*
rm -r $(BUILD_DIR)
rm -rf build
rm -rf docs/build
cd $(BUILD_CTX)/shipyard_client; rm -rf build