aboutsummaryrefslogtreecommitdiff
path: root/examples/C11screen
blob: d89c9f9e9cb25be235887c121d2a24d274a53279 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# example file to be used with --hookdir
#
# invoke GNU screen if build fails.

export debian_chroot="pbuilder"
BUILDDIR="${BUILDDIR:-/tmp/buildd}"
apt-get install -y "${APTGETOPT[@]}" screen vim less
cd "$BUILDDIR/*/debian/.."
screen </dev/tty > /dev/tty 2> /dev/tty