Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16fc650a authored by Roman Birg's avatar Roman Birg
Browse files

build: fix darwin compile



BSD cp command is different from GNU cp command. GNU ignores the slashes
at the end, while the slash alters the behavior of the BSD version.

Change-Id: I8e2e8d98df6819d9c3451b0d96e3269131a4fb4e
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent db420bd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -915,7 +915,7 @@ $(recovery_ramdisk): $(MKBOOTFS) $(MINIGZIP) $(RECOVERYIMAGE_EXTRA_DEPS) \
	$(hide) mkdir -p $(TARGET_RECOVERY_OUT)
	$(hide) mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/etc $(TARGET_RECOVERY_ROOT_OUT)/tmp
	@echo -e ${CL_CYN}"Copying baseline ramdisk..."${CL_RST}
	$(hide) cp -R $(TARGET_ROOT_OUT) $(TARGET_RECOVERY_OUT)
	$(hide) cp -R $(TARGET_ROOT_OUT)/ $(TARGET_RECOVERY_OUT)
	@echo -e ${CL_CYN}"Modifying ramdisk contents..."${CL_RST}
	$(hide) rm -f $(TARGET_RECOVERY_ROOT_OUT)/init*.rc
	$(hide) cp -f $(recovery_initrc) $(TARGET_RECOVERY_ROOT_OUT)/