mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
buildsystem: perform unpack when custom function provided
This commit is contained in:
parent
72af9fbb2d
commit
8ce2979b33
@ -55,7 +55,7 @@ pkg_lock_status "ACTIVE" "${PKG_NAME}" "unpack"
|
||||
|
||||
${SCRIPTS}/get "${PKG_NAME}"
|
||||
|
||||
if [ -d "${SOURCES}/${PKG_NAME}" -o -d "${PKG_DIR}/sources" ]; then
|
||||
if [ -d "${SOURCES}/${PKG_NAME}" -o -d "${PKG_DIR}/sources" ] || pkg_call_exists unpack; then
|
||||
build_msg "CLR_UNPACK" "UNPACK" "${PKG_NAME}" "indent"
|
||||
|
||||
# unpack into a unique location as unpacking into a single ${BUILD} directory is not thread-safe
|
||||
|
Loading…
x
Reference in New Issue
Block a user