aboutsummaryrefslogtreecommitdiff
path: root/examples/C10shell
diff options
context:
space:
mode:
Diffstat (limited to 'examples/C10shell')
-rw-r--r--examples/C10shell1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/C10shell b/examples/C10shell
index e547094..6fa0cb6 100644
--- a/examples/C10shell
+++ b/examples/C10shell
@@ -2,6 +2,7 @@
# 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