fix ./scripts/build/ci/cirrus-ci_dispatcher.sh

Script was copied from x11-packages, so there were parts unsuitable for
termux-packages.
This commit is contained in:
Leonid Pliushch 2021-05-19 17:46:17 +03:00
parent 7aa85ab4e6
commit 607103f807
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -107,16 +107,7 @@ set -e
if [ -n "$PACKAGE_NAMES" ]; then
echo "[*] Building packages:" $PACKAGE_NAMES
echo "[*] Copying packages to build environment:"
for pkg in "${REPO_DIR}"/packages/*; do
if [ ! -e "${REPO_DIR}/termux-packages/packages/$(basename "$pkg")" ]; then
echo " - $(basename "$pkg")"
cp -a "$pkg" "${REPO_DIR}"/termux-packages/packages/
else
echo " - $(basename "$pkg"): package already exist, skipping"
fi
done
cd ./termux-packages && ./build-package.sh -a "$TERMUX_ARCH" -I $PACKAGE_NAMES
./build-package.sh -a "$TERMUX_ARCH" -I $PACKAGE_NAMES
else
echo "[*] No modified packages found."
exit 0