buildsystem: scripts/unpack becomes ACTIVE after clean

This commit is contained in:
MilhouseVH 2019-06-29 11:07:51 +01:00
parent 3facec5d91
commit d431710678

View File

@ -17,10 +17,6 @@ PARENT_PKG="${2:-${PKG_NAME}}"
pkg_lock "${PKG_NAME}" "unpack" "${PARENT_PKG}"
pkg_lock_status "ACTIVE" "${PKG_NAME}" "unpack"
${SCRIPTS}/get "${PKG_NAME}"
if [ -n "${PKG_DEPENDS_UNPACK}" ]; then
for p in ${PKG_DEPENDS_UNPACK}; do
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
@ -55,6 +51,10 @@ if [ -f "${STAMP}" ]; then
exit 0
fi
pkg_lock_status "ACTIVE" "${PKG_NAME}" "unpack"
${SCRIPTS}/get "${PKG_NAME}"
if [ -d "${SOURCES}/${PKG_NAME}" -o -d "${PKG_DIR}/sources" ]; then
build_msg "CLR_UNPACK" "UNPACK" "${PKG_NAME}" "indent"