mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* debian/rules:
- check bash syntax at build time, to avoid LP: #1119446, #1119345 again
This commit is contained in:
parent
fd6d54dd91
commit
e4f2120ba2
2 changed files with 5 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
byobu (5.34) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* debian/rules:
|
||||
- check bash syntax at build time, to avoid LP: #1119446, #1119345 again
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 08 Feb 2013 14:48:02 -0600
|
||||
|
||||
|
|
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -3,8 +3,10 @@
|
|||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
# Check syntax
|
||||
# Check python syntax
|
||||
pep8 --verbose --repeat --ignore W191,E501 usr/bin/byobu-config usr/bin/byobu-select-session
|
||||
# Check shell syntax
|
||||
sh -n `find . -type f -exec grep -l "^\#\!/bin/sh" '{}' \;`
|
||||
# Check for bashisms in shell scripts
|
||||
checkbashisms `find . -type f -exec grep -l "^\#\!/bin/sh" '{}' \;` || true
|
||||
dh_auto_build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue