Skip to content

Commit 7b74c0e

Browse files
mergify[bot]shvass
andauthored
Bugfix on folder removal (#250) (#291)
atomic patch no more deletes current working directory (cherry picked from commit 002cbc1) Co-authored-by: akshay bansod <[email protected]>
1 parent 17d33fd commit 7b74c0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libmicroros.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3 esp32c6))
133133
fi; \
134134
$(X_AR) rc -s librcutils.a *.obj; \
135135
cp -rf librcutils.a $(UROS_DIR)/install/lib/librcutils.a; \
136-
rm -rf $(UROS_DIR)/atomic_workaround; \
137-
cd ..;
136+
cd ..; \
137+
rm -rf $(UROS_DIR)/atomic_workaround;
138138
endif
139139
ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32))
140140
echo $(UROS_DIR)/atomic_workaround; \

0 commit comments

Comments
 (0)