summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-21 20:34:08 +0200
committerErich Eckner <git@eckner.net>2017-10-21 20:34:08 +0200
commit23af83fda11ec553546e757ce9675f75b28c5585 (patch)
tree18f23d4a4d860b07b40bc3e7c6997bffcc028456 /bin
parent5be1c4a123d2908384d05773776ee7089926f342 (diff)
downloadbuilder-23af83fda11ec553546e757ce9675f75b28c5585.tar.xz
bin/build-packages: try a clean chroot for namcap on x86_64 if first attempt fails
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages1
1 files changed, 1 insertions, 0 deletions
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' | \