git-credential-luci 547 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. # Copyright 2024 The Chromium Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. # See revert instructions in cipd_manifest.txt
  6. # In git bash on Windows, invoke the batch file.
  7. if [ "$(expr "$(uname -s)" : "^MINGW64_NT")" == "10" ]; then
  8. git-credential-luci.bat "$@"
  9. exit
  10. fi
  11. MYPATH=$(dirname "${BASH_SOURCE[0]}")
  12. source "$MYPATH/cipd_bin_setup.sh"
  13. CIPD_ROOT=$(cipd_bin_setup) &> /dev/null
  14. exec "$CIPD_ROOT/git-credential-luci" "$@"