update build-all.sh

This commit is contained in:
Daniel Langbein 2021-04-28 16:29:51 +02:00
parent 42d42e4560
commit 30ad294d69

12
build-all.sh Normal file → Executable file
View File

@ -2,9 +2,15 @@
# build all packages
for PKG in pkg/*; do
cd "${PKG}" || exit
aur build -c || exit
cd ../.. || exit
# check if PKGBUILD exists, otherwise skip
[ -f "${PKG}/PKGBUILD" ] || { echo "${PKG} does not contain a PKGBUILD file - skipping this directory!"; continue; }
cd "${PKG}" || exit
aur build -c || exit
# makepkg -Ccsr || exit
cd ../.. || exit
done
# push remote repository