termux_create_subpackages: add data/ to tar instead of ./

Follow-up on b7e6ef99702aea61cd8baedd0c7ef315c35ab30c, forgot about
the subpackages in that one.
This commit is contained in:
Henrik Grimler
2021-08-24 07:04:06 +02:00
parent 71fb6068d8
commit b8e2bdf853

View File

@@ -51,7 +51,7 @@ termux_create_subpackages() {
cd "$SUB_PKG_DIR/massage"
local SUB_PKG_INSTALLSIZE
SUB_PKG_INSTALLSIZE=$(du -sk . | cut -f 1)
tar -cJf "$SUB_PKG_PACKAGE_DIR/data.tar.xz" .
tar -cJf "$SUB_PKG_PACKAGE_DIR/data.tar.xz" data
mkdir -p DEBIAN
cd DEBIAN