291b491f605071d105ef478376c41f725e7bbc7d
[shellsnippets/shellsnippets.git] / posix / pbuilder-hooks / C99fu
1 #!/bin/sh
2 # $MirOS: contrib/hosted/tg/deb/hookdir/C99fu,v 1.2 2011/12/15 21:06:42 tg Exp $
3 #-
4 # Not complicated enough for copyright.
5
6 echo
7 echo Build failed. Trying to invoke a shell.
8 echo
9 unset LANGUAGE
10 LC_ALL=C; export LC_ALL
11 apt-get -y --force-yes install less mksh
12 ENV=/etc/skel/.mkshrc /bin/mksh -l 0<>/dev/tty >&0 2>&0 || \
13     /bin/sh 0<>/dev/tty >&0 2>&0