From 002cbc17ebbf281332c7f06e7174bb998d2b6c89 Mon Sep 17 00:00:00 2001 From: akshay bansod Date: Mon, 9 Sep 2024 11:06:45 +0530 Subject: [PATCH] Bugfix on folder removal (#250) atomic patch no more deletes current working directory --- libmicroros.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmicroros.mk b/libmicroros.mk index cdb11dac..965fefe8 100644 --- a/libmicroros.mk +++ b/libmicroros.mk @@ -132,8 +132,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3)) fi; \ $(X_AR) rc -s librcutils.a *.obj; \ cp -rf librcutils.a $(UROS_DIR)/install/lib/librcutils.a; \ - rm -rf $(UROS_DIR)/atomic_workaround; \ - cd ..; + cd ..; \ + rm -rf $(UROS_DIR)/atomic_workaround; endif $(EXTENSIONS_DIR)/libmicroros.a: $(EXTENSIONS_DIR)/micro_ros_src/install patch_atomic