commit | cf2bd735fd85f19b7388a64b66d2b2f7169c2cdd | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Sun Jul 30 10:32:01 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Jul 31 13:04:47 2017 -0700 |
tree | 3f63c346ab1cc8725a16603a8283bad5b48d23e8 | |
parent | 4c3de20b11c097875ed45a09cbd13c88f2582422 [diff] |
Use absolute path for art/tools/cpplint.py --root art/tools/cpplint.py still fails when run with --root=. if the .git directory is missing. Replace --root=. with --root=$(pwd) to give it an absolute path. Bug: 34787652 Test: mv art/.git art/.git.bak; m -j cpplint-art-phony; mv art/.git.bak art/.git Change-Id: I56c2acf54090e53a02d52fb12ffd2e5a862ede4f