File: C11screen

package info (click to toggle)
pbuilder 0.231.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,864 kB
  • sloc: sh: 5,726; xml: 1,755; makefile: 248; ansic: 11
file content (12 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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