2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

set PATH to busybox earlier

This commit is contained in:
Christopher Roy Bratusek 2020-12-29 10:25:51 +01:00
parent e879247e3c
commit d6bdafefa0

View File

@ -873,15 +873,15 @@ setup_busybox () {
chmod 0755 ${INSTALLER}/busybox.${bb_arch}
${INSTALLER}/busybox.${bb_arch} --install -s ${INSTALLER}/busybox/
OLD_PATH=${PATH}
PATH=${INSTALLER}/busybox:/system/bin:/vendor/bin
}
##########################################################################################
# Move envvars out of the way
##########################################################################################
installer_setup_env () {
OLD_PATH=${PATH}
PATH=${INSTALLER}/busybox:/system/bin:/vendor/bin
if ! ${BOOTMODE}; then
OLD_PATH=${PATH}
OLD_LD_LIB=${LD_LIBRARY_PATH}