mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
buildsystem: clean/install - dquote both sides
This commit is contained in:
@@ -45,11 +45,11 @@ mkdir -p ${STAMPS_INSTALL}/${PKG_NAME}
|
||||
|
||||
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
|
||||
|
||||
if [ "${TARGET}" = target ] ; then
|
||||
if [ "${TARGET}" = "target" ] ; then
|
||||
for p in ${PKG_DEPENDS_TARGET}; do
|
||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||
done
|
||||
elif [ "${TARGET}" = init ] ; then
|
||||
elif [ "${TARGET}" = "init" ] ; then
|
||||
for p in ${PKG_DEPENDS_INIT}; do
|
||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||
done
|
||||
@@ -62,7 +62,7 @@ build_msg "CLR_INSTALL" "INSTALL" "${PKG_NAME} $(print_color CLR_TARGET "(${TARG
|
||||
|
||||
mkdir -p ${INSTALL}
|
||||
|
||||
if [ "${TARGET}" = target ] ; then
|
||||
if [ "${TARGET}" = "target" ] ; then
|
||||
for PKG_TMP_DIR in ${PKG_DIR} \
|
||||
${PROJECT_DIR}/${PROJECT}/packages/${PKG_NAME} \
|
||||
${PROJECT_DIR}/${PROJECT}/devices/${DEVICE}/packages/${PKG_NAME} \
|
||||
@@ -128,7 +128,7 @@ if [ "${TARGET}" = target ] ; then
|
||||
fi
|
||||
|
||||
# install
|
||||
if [ "${TARGET}" = target ] ; then
|
||||
if [ "${TARGET}" = "target" ] ; then
|
||||
pkg_call_exists pre_install && pkg_call pre_install
|
||||
fi
|
||||
|
||||
@@ -138,7 +138,7 @@ elif [ "${TARGET}" = "init" -a -d ${PKG_BUILD}/.install_init ]; then
|
||||
cp -PR ${PKG_BUILD}/.install_init/* ${INSTALL}
|
||||
fi
|
||||
|
||||
if [ "${TARGET}" = target ] ; then
|
||||
if [ "${TARGET}" = "target" ] ; then
|
||||
pkg_call_exists post_install && pkg_call post_install
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user