Skip to content

Commit 6a7304b

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 43b3d69 commit 6a7304b

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
@@ -131,8 +131,8 @@ ifeq ($(IDF_TARGET),$(filter $(IDF_TARGET),esp32s2 esp32c3))
131131
fi; \
132132
$(X_AR) rc -s librcutils.a *.obj; \
133133
cp -rf librcutils.a $(UROS_DIR)/install/lib/librcutils.a; \
134-
rm -rf $(UROS_DIR)/atomic_workaround; \
135-
cd ..;
134+
cd ..; \
135+
rm -rf $(UROS_DIR)/atomic_workaround;
136136
endif
137137

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

0 commit comments

Comments
 (0)