commit | 5ec6bbc3d542989f7af40a0d01a37a9a44295801 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Apr 26 17:37:17 2017 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Fri May 05 20:50:47 2017 -0700 |
tree | ae4d9e5c1d21a160b0ba54dce64be2efcb219379 | |
parent | 2be7eb9161c6dceb23c5881b8e7bc4884d598f02 [diff] |
Implement clean-path We shouldn't give non-clean paths to tools -- if a/b/../file was specified, we can simplify that path to a/file, and not need to create a/b just to make the path name work. The testcases come from golang's filepath.Clean tests, this should be compatible with that implementation. Bug: 37716307 Test: TEST_MAKE_clean_path=true m -j blueprint_tools Change-Id: I290a02b0a1e4a7c2b9255bca3c881589b521c402