diff --git a/scripts/unpack b/scripts/unpack index d1576bc92b..43a46f054d 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