From c8ea38eac95b3efd876fde62424093e5d00f08ac Mon Sep 17 00:00:00 2001 From: Philipp Felix Hoefler Date: Mon, 22 Feb 2016 14:12:07 +0100 Subject: [PATCH] scripts/unpack: creates empty build-dir for packages without sources so deepmd5 works --- scripts/unpack | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/unpack b/scripts/unpack index 79d0c2e725..63e294fc81 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -94,6 +94,10 @@ if [ -d "$PKG_DIR/sources" ]; then cp -PRf $PKG_DIR/sources/* $BUILD/${PKG_NAME}-${PKG_VERSION} fi +if [ -z "$PKG_URL" ]; then + mkdir -p "${BUILD}/${PKG_NAME}-${PKG_VERSION}" +fi + if [ "$(type -t post_unpack)" = "function" ]; then post_unpack fi