fix build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-05-19 10:08:46 +02:00
parent d3950dda5e
commit 0650294b22

View file

@ -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