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