|
@@ -1,8 +1,12 @@
|
|
|
-@echo off
|
|
|
-:: Copyright 2016 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.
|
|
|
-setlocal
|
|
|
-
|
|
|
-:: Defer control.
|
|
|
-%~dp0python "%~dp0\clang_format_merge_driver.py" %*
|
|
|
+@echo off
|
|
|
+:: Copyright 2016 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.
|
|
|
+setlocal
|
|
|
+
|
|
|
+:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
|
|
|
+:: standalone, but allow other PATH manipulations to take priority.
|
|
|
+set PATH=%PATH%;%~dp0
|
|
|
+
|
|
|
+:: Defer control.
|
|
|
+python "%~dp0\clang_format_merge_driver.py" %*
|