clean up a couple rm calls to better insulate against paths that start with -. while unlikely, the protection is easy

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 96fb56c4bb
commit 4ffe328025
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -47,4 +47,4 @@ ${OBJ_DIR}/%.o: ${top_dir}/testing/%.cpp ${H_FILES}
$<
clean:
rm -rf "${build_dir}"
rm -rf -- "${build_dir}"

@ -105,7 +105,7 @@ ${OBJ_DIR}/%.o: ${SRC_DIR}/%.cpp
$<
clean:
rm -f "${SRC_DIR}/generated-testcase.cpp"
rm -rf "${build_dir}"
rm -f -- "${SRC_DIR}/generated-testcase.cpp"
rm -rf -- "${build_dir}"
.PHONY: clean run all build

Loading…
Cancel
Save