Exporting build results even if the build fails

Thorsten Glaser tg at mirbsd.de
Sun Nov 29 15:58:00 UTC 2015


Mattia Rizzolo dixit:

>behaviour (I'm a fan of adding options, but maybe it's overkill in this
>case?)

Hm, I use a C hook (attached) to inspect broken builds, as I’m
building interactively, so I for one would not wish this to be
forced upon users.

Default is possibly ok, but could surprise users by trashing
their available/free disc space…

bye,
//mirabilos
-- 
„Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund,
mksh auf jedem System zu installieren.“
	-- XTaran auf der OpenRheinRuhr, ganz begeistert
(EN: “[…]uhr.gz is a reason to install mksh on every system.”)
-------------- next part --------------
#!/bin/sh
# $MirOS: contrib/hosted/tg/deb/hookdir/C80shell-jupp,v 1.4 2014/12/12 21:44:18 tg Exp $
#-
# Not complicated enough for copyright.

unset LANGUAGE
LC_ALL=C; export LC_ALL

echo "I: Current time: $(date)"
echo
echo Build failed. Trying to invoke a shell.
echo
apt-get -y --force-yes install less mksh ed jupp || \
    apt-get -y --force-yes install less mksh ed joe
ENV=/etc/skel/.mkshrc /bin/mksh -l 0<>/dev/tty >&0 2>&0 || \
    /bin/sh 0<>/dev/tty >&0 2>&0


More information about the Pbuilder-maint mailing list