Skip to content

Commit 5defccb

Browse files
committed
Fix .SRCINFO containing pacman output
Redirect pacman install output to stderr so only makepkg --printsrcinfo output ends up in .SRCINFO.
1 parent 0937cd7 commit 5defccb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/aur.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# Copy PKGBUILD and generate .SRCINFO
9494
cp ../PKGBUILD .
9595
docker run --rm -v "$PWD/PKGBUILD:/PKGBUILD:ro" archlinux:base bash -c \
96-
'pacman -Sy --noconfirm pacman-contrib && cp /PKGBUILD /tmp/ && cd /tmp && chown nobody PKGBUILD && runuser -u nobody -- makepkg --printsrcinfo' > .SRCINFO
96+
'pacman -Sy --noconfirm pacman-contrib >&2 && cp /PKGBUILD /tmp/ && cd /tmp && chown nobody PKGBUILD && runuser -u nobody -- makepkg --printsrcinfo' > .SRCINFO
9797
9898
# Commit and push
9999
git add PKGBUILD .SRCINFO

0 commit comments

Comments
 (0)