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