Skip to content

Commit fe50d86

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 7970efe commit fe50d86

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)