scripts/unpack: fix issue unpacking libhybris

This commit is contained in:
MilhouseVH 2019-02-13 15:10:54 +00:00
parent 7ed6710a19
commit ab67ec7ccc

View File

@ -68,7 +68,7 @@ if [ -d "$SOURCES/${PKG_NAME}" -o -d "$PKG_DIR/sources" ]; then
fi fi
_pkg_build="$(basename "${PKG_BUILD}")" _pkg_build="$(basename "${PKG_BUILD}")"
[ -d "${PKG_UNPACK_DIR}/${_pkg_build}"* ] && mv "${PKG_UNPACK_DIR}/${_pkg_build}"* "${PKG_BUILD}" [ -z "${PKG_SOURCE_DIR}" -a -d "${PKG_UNPACK_DIR}/${_pkg_build}"* ] && mv "${PKG_UNPACK_DIR}/${_pkg_build}"* "${PKG_BUILD}"
if [ ! -d "${PKG_BUILD}" ]; then if [ ! -d "${PKG_BUILD}" ]; then
if [ -n "${PKG_SOURCE_DIR}" ]; then if [ -n "${PKG_SOURCE_DIR}" ]; then