aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/clean_drivers.bat
blob: 544b7a03a6df71120593815325503a582f7f1281 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
@rem Copyright 2015 Egor Tensin <Egor.Tensin@gmail.com>
@rem This file is licensed under the terms of the MIT License.
@rem See LICENSE.txt for details.

@setlocal enabledelayedexpansion
@echo off

for /f "delims=" %%i in ('dir /s sources /b') do (
  set driver_src_root=%%~dpi
  echo.
  call clean_driver.bat "!driver_src_root:~0,-1!" || exit /b !errorlevel!
)