diff --git a/dirmd b/dirmd new file mode 100755 index 000000000..1a9b42a69 --- /dev/null +++ b/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" "$@" diff --git a/dirmd.bat b/dirmd.bat new file mode 100644 index 000000000..d6b73c08e --- /dev/null +++ b/dirmd.bat @@ -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" %*