diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-09-17 16:14:02 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-09-17 16:14:02 +0000 |
commit | 39b22a89b899515e43b959fd43fbc1ddb1ac096b (patch) | |
tree | 39f2856d59a8e0c0181639795487a4d56accc99c /examples/C10shell | |
parent | ef02c579ea1057028bd8a8fe394dd413f09a8e3d (diff) | |
download | pbuilder-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/C10shell')
-rw-r--r-- | examples/C10shell | 1 |
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 |