Skip to content

Commit a50ddfa

Browse files
shvassmergify[bot]
authored andcommitted
Bugfix on folder removal (#250)
atomic patch no more deletes current working directory (cherry picked from commit 002cbc1)
1 parent 17d33fd commit a50ddfa

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)