commit | c94f243ccfe39115e7a648ffbb6f7594b0d2e9ea | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Mar 04 17:32:44 2020 -0800 |
committer | George Burgess <gbiv@chromium.org> | Thu Mar 05 02:03:19 2020 +0000 |
tree | e8a736271471839c217e18a2c770500ee005796d | |
parent | 30171e1539d5f63491365d6363a74791d7d0432e [diff] |
wrapper: correctly Join() paths for Android filepath.Join(".", "foo") folds to "foo", which is fine as long as we're not Exec()ing the result of that Join(). If we do, we might execute a binary we weren't expecting to (e.g., one looked up from ${PATH}, rather than the one at ${CWD}). BUG=None TEST=`go test` Change-Id: Ifbd247c2e489c786d0a0d3342b5d1b61a7320796 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2088432 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> 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.