summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2019-09-12 23:34:22 +0200
committerLevente Polyak <anthraxx@archlinux.org>2019-09-28 00:15:51 +0200
commit5dd90ef848e99e86601807fd829f6586dc2ab6fc (patch)
treefbb28253133d5f4b7e088c925005f0bde2504f08 /makechrootpkg.in
parent5246cb9aa5bdc390c793dc261b28f3439aaad4c0 (diff)
downloaddevtools-5dd90ef848e99e86601807fd829f6586dc2ab6fc.tar.xz
checkpkg: add option to print a warning in case of differences
Sometimes its desired to be explicitly made aware of differences reporter by checkpkg via printing a warning instead of a regular message. Automatically use --warn for makechrootpkg builds so packagers are made visibly aware of a soname bump by simply looking out for colors indicating non success messages. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 4238fc3..f5a0e51 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -412,7 +412,7 @@ else
msg2 "Downloading current versions"
if pacman --noconfirm -Swdd --logfile /dev/null "${pkgnames[@]}"; then
msg2 "Checking packages"
- sudo -u "$makepkg_user" checkpkg --rmdir
+ sudo -u "$makepkg_user" checkpkg --rmdir --warn
else
warning "Skipped checkpkg due to missing packages"
fi