aboutsummaryrefslogtreecommitdiff
path: root/examples/C11screen
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/C11screen
parent783c48740a8ec1bb0c2033362afd20a1ae3d07a8 (diff)
downloadpbuilder-9fc9e7fcadd439fcabc86a6494046758f6aa9d58.tar
pbuilder-9fc9e7fcadd439fcabc86a6494046758f6aa9d58.tar.gz
use BUILDDIR variable instead of hardcoding /tmp/buildd on hooks examples
Diffstat (limited to 'examples/C11screen')
-rwxr-xr-xexamples/C11screen2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/C11screen b/examples/C11screen
index 9b1d30f..c26b2e2 100755
--- a/examples/C11screen
+++ b/examples/C11screen
@@ -5,5 +5,5 @@
export debian_chroot="pbuilder"
apt-get install -y "${APTGETOPT[@]}" screen vim less
-cd /tmp/buildd/*/debian/..
+cd "$BUILDDIR/*/debian/.."
screen </dev/tty > /dev/tty 2> /dev/tty