From af77bb3dbb6cde04a6c9352f3082805b88cb3e21 Mon Sep 17 00:00:00 2001 From: nyyu Date: Wed, 19 May 2021 13:38:03 +0200 Subject: [PATCH] suppress logs --- build.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 3d94292..bd20964 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #!/bin/bash build() { - if grep -c 'git+' PKGBUILD ; then + if grep -c 'git+' PKGBUILD > /dev/null ; then makepkg -s --nobuild --skippgpcheck --noconfirm fi makepkg --printsrcinfo > .SRCINFO @@ -13,7 +13,7 @@ build() { epoch=$epoch: fi - if ! compgen -G "/repo/$name-$epoch$ver-$rel-*.pkg.tar.zst" ; then + if ! compgen -G "/repo/$name-$epoch$ver-$rel-*.pkg.tar.zst" > /dev/null ; then if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then for pkg in *.pkg.tar.zst ; do cp "$pkg" /repo/ @@ -24,14 +24,12 @@ build() { } for d in */ ; do - echo "$d" cd "$d" || continue build cd .. done while read -r p; do - echo "$p" git clone https://aur.archlinux.org/"$p".git || continue cd "$p" || continue build