aboutsummaryrefslogtreecommitdiff
path: root/examples/C10shell
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-17 14:45:47 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-08-17 14:45:47 +0000
commit9fc9e7fcadd439fcabc86a6494046758f6aa9d58 (patch)
tree26e393c21dd02bd07507428f33bf8599f50fbef7 /examples/C10shell
parent783c48740a8ec1bb0c2033362afd20a1ae3d07a8 (diff)
downloadpbuilder-9fc9e7fcadd439fcabc86a6494046758f6aa9d58.tar
pbuilder-9fc9e7fcadd439fcabc86a6494046758f6aa9d58.tar.gz
use BUILDDIR variable instead of hardcoding /tmp/buildd on hooks examples
Diffstat (limited to 'examples/C10shell')
-rw-r--r--examples/C10shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/C10shell b/examples/C10shell
index 017cb0e..e547094 100644
--- a/examples/C10shell
+++ b/examples/C10shell
@@ -3,5 +3,5 @@
#
# invoke shell if build fails.
apt-get install -y "${APTGETOPT[@]}" vim less
-cd /tmp/buildd/*/debian/..
+cd "$BUILDDIR"/*/debian/..
/bin/bash < /dev/tty > /dev/tty 2> /dev/tty