From 0650294b22fa0bd2cfec3477716f6431297115f6 Mon Sep 17 00:00:00 2001 From: nyyu Date: Wed, 19 May 2021 10:08:46 +0200 Subject: [PATCH] fix build --- build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index f59cde5..57ebeb5 100755 --- a/build.sh +++ b/build.sh @@ -9,11 +9,12 @@ chown -R build:build * for d in */ ; do echo "$d" cd "$d" - sudo -u build sh -c 'makepkg -s --skippgpcheck' + sudo -u build sh -c 'makepkg -s --skippgpcheck --noconfirm' if [ $? -eq 0 ]; then - PKG=$(*.pkg.tar.zst) - cp $PKG /repo/ - repo-add /repo/nyyu.db.tar.zst $PKG + for pkg in *.pkg.tar.zst ; do + cp $pkg /repo/ + repo-add /repo/nyyu.db.tar.zst /repo/$pkg + done fi cd .. done