build-package.sh: Remove broken subpackage logic

This commit is contained in:
Fredrik Fornwall 2017-01-30 02:10:22 +01:00
parent 7820f30c8b
commit a15ad0de6d

View File

@ -827,10 +827,6 @@ termux_step_massage() {
else else
echo "TERMUX_SUBPKG_DEPENDS=\"$TERMUX_PKG_NAME\"" >> "$_DEVEL_SUBPACKAGE_FILE" echo "TERMUX_SUBPKG_DEPENDS=\"$TERMUX_PKG_NAME\"" >> "$_DEVEL_SUBPACKAGE_FILE"
fi fi
if [ x$TERMUX_PKG_CONFLICTS != x ]; then
# Assume that dev packages conflicts as well.
echo "TERMUX_SUBPKG_CONFLICTS=${TERMUX_PKG_CONFLICTS}-dev" >> "$_DEVEL_SUBPACKAGE_FILE"
fi
fi fi
# Now build all sub packages # Now build all sub packages
rm -Rf "$TERMUX_TOPDIR/$TERMUX_PKG_NAME/subpackages" rm -Rf "$TERMUX_TOPDIR/$TERMUX_PKG_NAME/subpackages"