[dirmd] Add dirmd executables

This should have been a part of
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2298244

Bug: 1104246
Change-Id: I3a1ef07cb4443aa2d62af7f3cb28e0d58bd3951a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2297804
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
changes/04/2297804/2
Nodir Turakulov 5 years ago committed by LUCI CQ
parent 3229d944bf
commit 672e1dcfad

12
dirmd

@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Copyright 2020 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/dirmd" "$@"

@ -0,0 +1,7 @@
@echo off
:: Copyright 2020 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\dirmd.exe" %*
Loading…
Cancel
Save