bash: fix copying of bash files to recovery ramdisk

Change-Id: I41d4b83802df3d8f9e8397130b807e348d054d1b
This commit is contained in:
Captain Throwback
2021-06-17 22:53:29 +00:00
committed by bigbiff
parent 9597b840bc
commit 0265b25b5b
+1 -1
View File
@@ -559,7 +559,7 @@ ifneq ($(TW_EXCLUDE_BASH), true)
LOCAL_POST_INSTALL_CMD += \
mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/system/etc/bash/; \
cp -rf external/bash/etc/ $(TARGET_RECOVERY_ROOT_OUT)/system/etc/bash; \
cp -rf external/bash/etc/* $(TARGET_RECOVERY_ROOT_OUT)/system/etc/bash/; \
sed -i 's/ro.lineage.device/ro.product.device/' $(TARGET_RECOVERY_ROOT_OUT)/system/etc/bash/bashrc; \
sed -i '/export TERM/d' $(TARGET_RECOVERY_ROOT_OUT)/system/etc/bash/bashrc; \
mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/sbin; \