diff options
author | George Burgess IV <gbiv@google.com> | 2020-05-02 10:45:39 -0700 |
---|---|---|
committer | George Burgess <gbiv@chromium.org> | 2020-05-04 19:40:18 +0000 |
commit | bdb74f76914921f50ac50da29499c5bb4f0c7741 (patch) | |
tree | 8adacf934f721b25b1e44bd65de7d5aca5b448eb /lock_machine.py | |
parent | 900d6e7f33499bd70cdac8302917d37f812b7ffc (diff) | |
download | toolchain-utils-bdb74f76914921f50ac50da29499c5bb4f0c7741.tar.gz |
lock_machine: look up skylab on $PATH
Not all cipd installations go into /usr/local/bin/. Chrotomation3
appears to have it on its path:
mobiletc-prebuild@chrotomation3:~/$ which skylab
/usr/local/bin/skylab
So this should be a nop, and should be more flexible for people who
want to have their cipd bits elsewhere.
BUG=None
TEST=ran crosperf
Change-Id: If0aae16f123ac23dd015b3bf879c899e06e20901
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2177064
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'lock_machine.py')
-rwxr-xr-x | lock_machine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lock_machine.py b/lock_machine.py index dc494142..10e6049a 100755 --- a/lock_machine.py +++ b/lock_machine.py @@ -53,7 +53,7 @@ class LockManager(object): machines, using appropriate locking mechanisms for each. """ - SKYLAB_PATH = '/usr/local/bin/skylab' + SKYLAB_PATH = 'skylab' # TODO(zhizhouy): lease time may needs to be dynamically adjusted. For now we # set it long enough to cover the period to finish nightly rotation tests. |