diff options
author | Tian, Hot <hot.tian@intel.com> | 2014-01-27 05:36:53 +0000 |
---|---|---|
committer | hhtian <hhtian@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-27 05:36:53 +0000 |
commit | 5c1e62f35a5a5ad28b2f7f29ae0bf1d255b229a3 (patch) | |
tree | 3c1f6087f857663b00c4c21b4ee5df5f4f586d45 | |
parent | f51461c829c124288a930829a78e2a5a799f4039 (diff) | |
download | edk2-platforms-5c1e62f35a5a5ad28b2f7f29ae0bf1d255b229a3.tar.xz |
Fix CRLF format
Signed-off-by: Tian, Hot <hot.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15189 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-x | BaseTools/Bin/Win32/ImportTool.bat | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/BaseTools/Bin/Win32/ImportTool.bat b/BaseTools/Bin/Win32/ImportTool.bat index d896216c4c..b0512fe267 100755 --- a/BaseTools/Bin/Win32/ImportTool.bat +++ b/BaseTools/Bin/Win32/ImportTool.bat @@ -1,53 +1,53 @@ -@REM -@REM Copyright (c) 2008, Intel Corporation. All rights reserved.<BR> -@REM This program and the accompanying materials -@REM are licensed and made available under the terms and conditions of the BSD License -@REM which accompanies this distribution. The full text of the license may be found at -@REM http://opensource.org/licenses/bsd-license.php -@REM -@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -@REM - -@echo off -@if /I "%1"=="-h" goto Usage -@if /I "%1"=="-help" goto Usage -@if /I "%1"=="--help" goto Usage -@if /I "%1"=="/h" goto Usage -@if /I "%1"=="/help" goto Usage -@if /I "%1"=="/?" goto Usage - -set IMPORT_TOOL=%~dp0Trim.exe -if NOT exist %IMPORT_TOOL% ( - echo. - echo !!! Trim.exe was not found. Please make sure that it is in the same directory as this script! - echo. - goto End -) - -if '%*'=='' ( - set FILE_LIST=*.c -) else ( - set FILE_LIST=%* -) - -for /r %%i in (%FILE_LIST%) do ( - echo Converting ... %%i - %IMPORT_TOOL% -8 -o %%i %%i -) -goto End - -:Usage - echo. - echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [files]" - echo. - echo files File list or file pattern with wildcard, like "*.c *.h", - echo seperated by space. If not specified, defaul to *.c. -echo. - -:End -set FILE_LIST= -set IMPORT_TOOL= - -@echo on - +@REM
+@REM Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
+@REM This program and the accompanying materials
+@REM are licensed and made available under the terms and conditions of the BSD License
+@REM which accompanies this distribution. The full text of the license may be found at
+@REM http://opensource.org/licenses/bsd-license.php
+@REM
+@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+@REM
+
+@echo off
+@if /I "%1"=="-h" goto Usage
+@if /I "%1"=="-help" goto Usage
+@if /I "%1"=="--help" goto Usage
+@if /I "%1"=="/h" goto Usage
+@if /I "%1"=="/help" goto Usage
+@if /I "%1"=="/?" goto Usage
+
+set IMPORT_TOOL=%~dp0Trim.exe
+if NOT exist %IMPORT_TOOL% (
+ echo.
+ echo !!! Trim.exe was not found. Please make sure that it is in the same directory as this script!
+ echo.
+ goto End
+)
+
+if '%*'=='' (
+ set FILE_LIST=*.c
+) else (
+ set FILE_LIST=%*
+)
+
+for /r %%i in (%FILE_LIST%) do (
+ echo Converting ... %%i
+ %IMPORT_TOOL% -8 -o %%i %%i
+)
+goto End
+
+:Usage
+ echo.
+ echo Usage: "%0 [-h | -help | --help | /h | /help | /?] [files]"
+ echo.
+ echo files File list or file pattern with wildcard, like "*.c *.h",
+ echo seperated by space. If not specified, defaul to *.c.
+echo.
+
+:End
+set FILE_LIST=
+set IMPORT_TOOL=
+
+@echo on
+
|