From a50ddfa667978fd406b48218ce10ee4192a1cf6a 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 (cherry picked from commit 002cbc17ebbf281332c7f06e7174bb998d2b6c89) --- libmicroros.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmicroros.mk b/libmicroros.mk index 75c9ed44..af859701 100644 --- a/libmicroros.mk +++ b/libmicroros.mk @@ -133,8 +133,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3 esp32c6)) 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 ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32)) echo $(UROS_DIR)/atomic_workaround; \