commit | fbb16169c0cb546b48c849ec06853018a2cf1e22 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Mon Mar 09 16:01:52 2020 -0700 |
committer | George Burgess <gbiv@chromium.org> | Tue Mar 10 18:44:01 2020 +0000 |
tree | 7b94711702d092e31729f4e08f083c849f173dc6 | |
parent | c5ad73223208f2db2d8701592d11014bb3d79365 [diff] |
wrapper: resolve /proc/self/cwd only when seen. This wrapper may run on Mac, which doesn't have /proc/self/cwd available. This also adds a test to be sure this selective Readlink() behavior continues to work. BUG=None TEST=SDK Tryjob; tests pass Change-Id: I6f6aaeb7ea45ab8b3d68299422f0594a689ecfcd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2095763 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Tiancong Wang <tcwang@google.com> Tested-by: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.