update build-all.sh

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

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

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