aboutsummaryrefslogtreecommitdiff
path: root/examples/C10shell
blob: 6fa0cb67e9b0a77a01d04919dbb8ebbed0518934 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
# example file to be used with --hookdir
#
# invoke shell if build fails.
BUILDDIR="${BUILDDIR:-/tmp/buildd}"
apt-get install -y "${APTGETOPT[@]}" vim less 
cd "$BUILDDIR"/*/debian/..
/bin/bash < /dev/tty > /dev/tty 2> /dev/tty