mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
on non-linux systems bash is not the default shell (by default) and lives in a completely different path Change-Id: I6580c776dda1b60b3d5c5f5f1ce4d6694ac45fe9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1605902 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
13 lines
321 B
Bash
Executable File
13 lines
321 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
MYPATH=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
source "$MYPATH/cipd_bin_setup.sh"
|
|
cipd_bin_setup &> /dev/null
|
|
|
|
exec "$MYPATH/.cipd_bin/led" "$@"
|