diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-03 10:39:23 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-03 11:57:22 -0800 |
| commit | b5dc4a85433a908d38d453e98d7d45e22e2a5fc0 (patch) | |
| tree | f186094efa03e9c1144fb5c98161cf3f7b054f90 /mp/src/materialsystem/stdshaders/clean.bat | |
| parent | Specify clobbered registers in POSIX SSE functions (diff) | |
| download | source-sdk-2013-b5dc4a85433a908d38d453e98d7d45e22e2a5fc0.tar.xz source-sdk-2013-b5dc4a85433a908d38d453e98d7d45e22e2a5fc0.zip | |
Line-ending fixes for most of the remaining files.
Fixes line-endings for files with extensions vcd, cc, txt, bat, fxc, inc, lst,
proto, mak, mm, cfg, res, rc, def, vmt, vsh, vbsp, inl, asm, m4, vcproj,
vcxproj, sln, in, java, la, manifest, am, and rad.
Also fixes README, CONTRIBUTING, CONTRIBUTORS, LICENSE, CHANGES, COPYING, and
gitignore.
Finally, fixes executable bits.
Diffstat (limited to 'mp/src/materialsystem/stdshaders/clean.bat')
| -rwxr-xr-x[-rw-r--r--] | mp/src/materialsystem/stdshaders/clean.bat | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/mp/src/materialsystem/stdshaders/clean.bat b/mp/src/materialsystem/stdshaders/clean.bat index eec63804..efcc57db 100644..100755 --- a/mp/src/materialsystem/stdshaders/clean.bat +++ b/mp/src/materialsystem/stdshaders/clean.bat @@ -1,33 +1,33 @@ -@echo off
-setlocal
-
-if /i "%1" == "-game" goto CleanGameDir
-
-rem Clean out hl2
-if exist ..\..\..\game\hl2\shaders rd /s /q ..\..\..\game\hl2\shaders
-goto CleanOtherStuff
-
-:CleanGameDir
-set __GameDir=%~2
-if not exist "%__GameDir%\gameinfo.txt" goto MissingGameInfo
-if exist "%__GameDir%\shaders" rd /s /q "%2\shaders"
-goto CleanOtherStuff
-
-:CleanOtherStuff
-if exist debug_dx9 rd /s /q debug_dx9
-
-if exist fxctmp9 rd /s /q fxctmp9
-if exist vshtmp9 rd /s /q vshtmp9
-if exist pshtmp9 rd /s /q pshtmp9
-if exist fxctmp9_tmp rd /s /q fxctmp9_tmp
-if exist vshtmp9_tmp rd /s /q vshtmp9_tmp
-if exist pshtmp9_tmp rd /s /q pshtmp9_tmp
-if exist shaders rd /s /q shaders
-goto end
-
-:MissingGameInfo
-echo Invalid -game parameter specified (no "%__GameDir%\gameinfo.txt" exists).
-goto end
-
-
+@echo off +setlocal + +if /i "%1" == "-game" goto CleanGameDir + +rem Clean out hl2 +if exist ..\..\..\game\hl2\shaders rd /s /q ..\..\..\game\hl2\shaders +goto CleanOtherStuff + +:CleanGameDir +set __GameDir=%~2 +if not exist "%__GameDir%\gameinfo.txt" goto MissingGameInfo +if exist "%__GameDir%\shaders" rd /s /q "%2\shaders" +goto CleanOtherStuff + +:CleanOtherStuff +if exist debug_dx9 rd /s /q debug_dx9 + +if exist fxctmp9 rd /s /q fxctmp9 +if exist vshtmp9 rd /s /q vshtmp9 +if exist pshtmp9 rd /s /q pshtmp9 +if exist fxctmp9_tmp rd /s /q fxctmp9_tmp +if exist vshtmp9_tmp rd /s /q vshtmp9_tmp +if exist pshtmp9_tmp rd /s /q pshtmp9_tmp +if exist shaders rd /s /q shaders +goto end + +:MissingGameInfo +echo Invalid -game parameter specified (no "%__GameDir%\gameinfo.txt" exists). +goto end + + :end
\ No newline at end of file |