aboutsummaryrefslogtreecommitdiff
path: root/examples/B91dpkg-i
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/B91dpkg-i
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/B91dpkg-i')
-rw-r--r--examples/B91dpkg-i1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/B91dpkg-i b/examples/B91dpkg-i
index 55bd7c5..acc1cdd 100644
--- a/examples/B91dpkg-i
+++ b/examples/B91dpkg-i
@@ -6,6 +6,7 @@
echo "Trying to install resulting packages and test upgrades"
set -ex
+BUILDDIR="${BUILDDIR:-/tmp/buildd}"
PKGNAMES=$(cd "$BUILDDIR" && ls -1 *.deb | sed 's/_.*$//' )