aboutsummaryrefslogtreecommitdiff
path: root/examples/B91debc
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-09-17 16:14:02 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-09-17 16:14:02 +0000
commit39b22a89b899515e43b959fd43fbc1ddb1ac096b (patch)
tree39f2856d59a8e0c0181639795487a4d56accc99c /examples/B91debc
parentef02c579ea1057028bd8a8fe394dd413f09a8e3d (diff)
downloadpbuilder-39b22a89b899515e43b959fd43fbc1ddb1ac096b.tar
pbuilder-39b22a89b899515e43b959fd43fbc1ddb1ac096b.tar.gz
example hooks: keep /tmp/buildd as a fallback option in case BUILDDIR is not setted
Who knows what people want to do with those scripts...
Diffstat (limited to 'examples/B91debc')
-rw-r--r--examples/B91debc1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/B91debc b/examples/B91debc
index 61690c9..180efdb 100644
--- a/examples/B91debc
+++ b/examples/B91debc
@@ -3,6 +3,7 @@
#
# 343894: a script to run debc command, contributed from q-funk.
+BUILDDIR="${BUILDDIR:-/tmp/buildd}"
apt-get install -y "${APTGETOPT[@]}" devscripts
cd "$BUILDDIR"/*/debian
cd ..