Merge lp:~benji/launchpad/make-lint-ignore-grep-env into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Leonard Richardson |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12395 |
Proposed branch: | lp:~benji/launchpad/make-lint-ignore-grep-env |
Merge into: | lp:launchpad |
Diff against target: |
12 lines (+1/-1) 1 file modified
buildout-templates/bin/lint.sh.in (+1/-1) |
To merge this branch: | bzr merge lp:~benji/launchpad/make-lint-ignore-grep-env |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Review via email: mp+49884@code.launchpad.net |
Commit message
[r=leonardr][no-qa] isolate bin/lint.sh's use of grep from the environment
Description of the change
This is a small change to the bin/lint.sh template to isolate grep from
the various environment variables that can affect its operation in ways
undesirable in the context of the script.
In particular, I have "-n" in my GREP_OPTIONS environment variable which
causes "make lint" to generate this exception (note the leading "1:"):
Traceback (most recent call last):
File "/usr/bin/
File "/usr/lib/
File "/usr/lib/
with open(file_path) as file_:
IOError: [Errno 2] No such file or directory: '1:lib/