[luci-auth] Add statically-linked luci-auth CLI tool.
R=tandrii@chromium.org, vadimsh@chromium.org Bug: 809645 Change-Id: I21ad49fa03630955eca6ecd531445bc4acf0c0c6 Reviewed-on: https://chromium-review.googlesource.com/905822 Reviewed-by: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>changes/22/905822/2
parent
d6d0ecca50
commit
f3b152d2f5
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright 2018 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/luci-auth" "$@"
|
||||
|
@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
:: Copyright 2018 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.
|
||||
|
||||
call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
|
||||
"%~dp0\.cipd_bin\luci-auth.exe" %*
|
||||
|
Loading…
Reference in New Issue