Skip to content

Commit 54eaf42

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

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
@@ -128,8 +128,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3))
128128
fi; \
129129
$(X_AR) rc -s librcutils.a *.obj; \
130130
cp -rf librcutils.a $(UROS_DIR)/install/lib/librcutils.a; \
131-
rm -rf $(UROS_DIR)/atomic_workaround; \
132-
cd ..;
131+
cd ..; \
132+
rm -rf $(UROS_DIR)/atomic_workaround;
133133
endif
134134

135135
$(EXTENSIONS_DIR)/libmicroros.a: $(EXTENSIONS_DIR)/micro_ros_src/install patch_atomic

0 commit comments

Comments
 (0)