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:
parent
7aa85ab4e6
commit
607103f807
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user