scripts/unpack: creates empty build-dir for packages without sources so deepmd5 works

This commit is contained in:
Philipp Felix Hoefler 2016-02-22 14:12:07 +01:00
parent f106255eaf
commit c8ea38eac9

View File

@ -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