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/B92test-pkg | |
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/B92test-pkg')
-rw-r--r-- | examples/B92test-pkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/B92test-pkg b/examples/B92test-pkg index 31e4aba..15c6017 100644 --- a/examples/B92test-pkg +++ b/examples/B92test-pkg @@ -7,6 +7,8 @@ # set -e +BUILDDIR="${BUILDDIR:-/tmp/buildd}" + echo "Installing the prerequisites" for PKG in $(ls "$BUILDDIR"/*.deb | sed -e's,.*/,,;s,_.*,,' ); do apt-get install -y --force-yes "$PKG" || true |