Skip to content

Commit 4b505b6

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

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)