From 23af83fda11ec553546e757ce9675f75b28c5585 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 21 Oct 2017 20:34:08 +0200 Subject: bin/build-packages: try a clean chroot for namcap on x86_64 if first attempt fails --- bin/build-packages | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/build-packages') diff --git a/bin/build-packages b/bin/build-packages index 6c2bdb2..5039ced 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -336,6 +336,7 @@ while [ "${count}" -ne 0 ]; do # this is a little hack: makepkg receives '--version', but namcap is run nevertheless # (and it only works with devtools32, because they are running namcap on *.pkg.tar.xz in the base directory, too) "${x86_64_build_command}" -- -- --version > /dev/null 2>&1 || \ + "${x86_64_build_command}" -c -- -- --version > /dev/null 2>&1 || \ true # now we generate diffs from the namcap.logs find . "${tar_content_dir}/" -maxdepth 1 -type f -name '*.pkg.tar.xz-namcap.log' -printf '%p\n' | \ -- cgit v1.2.3-70-g09d2