commit | 1a3ce72f22d10ac792833834c4e27bed431f619e | [log] [tgz] |
---|---|---|
author | jdesprez <jdesprez@google.com> | Tue Mar 27 10:39:30 2018 -0700 |
committer | jdesprez <jdesprez@google.com> | Tue Mar 27 10:39:30 2018 -0700 |
tree | 8c2af9b65805d6dee12d3a914c367e08798a7e3a | |
parent | da19f7ec29d714deb0f18798a13d199da69d3869 [diff] |
Fix cts-tradefed script to work on MacOS readlink does not work the same on linux and MacOs because MacOs does not have 'realpath'. Use our own 'realpath' func to ensure we always get the path right. Test: ./cts-tradefed for different directories on linux and Mac Bug: 76428311 Change-Id: I93cac42c265dcc381be2c3103dc1b033cbb66377