| 1 | #!/bin/bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | BUILDDIR="${BUILDDIR:-/tmp/buildd}" |
| 6 | |
| 7 | apt-get install -y "${APTGETOPT[@]}" lintian |
| 8 | |
| 9 | echo "+++ lintian output +++" |
| 10 | |
| 11 | su -c "lintian -I --show-overrides "$BUILDDIR"/*.changes" - pbuilder |
| 12 | # use this version if you don't want lintian to fail the build |
| 13 | #su -c "lintian -I --show-overrides "$BUILDDIR"/*.changes; :" - pbuilder |
| 14 | |
| 15 | echo "+++ end of lintian output +++" |
| 16 |