From 8ce2979b335bddb6f5e7ddd5d79ece719c74fb59 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sat, 6 Jul 2019 08:53:38 +0100 Subject: [PATCH] buildsystem: perform unpack when custom function provided --- scripts/unpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/unpack b/scripts/unpack index 1c5876c862..81668f0115 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -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