diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-11-11 16:15:52 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-11-14 19:33:08 +0800 |
commit | ea4511d127f45e5028996aba6613b4807c3c7902 (patch) | |
tree | 02fe71d3e6c692407b0ee28b723f3860b76c9ed0 /DuetPkg/GetVariables.bat | |
parent | 24476311ed2d92b8ed7040ef101b019b2d3d7991 (diff) | |
download | edk2-ea4511d127f45e5028996aba6613b4807c3c7902.zip edk2-ea4511d127f45e5028996aba6613b4807c3c7902.tar.gz edk2-ea4511d127f45e5028996aba6613b4807c3c7902.tar.bz2 |
DuetPkg: Use 'echo off' in BATCH script files
Instead of putting a '@' at the beginning of every command in BATCH script
files, use 'echo off' at the beginning of each file.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'DuetPkg/GetVariables.bat')
-rw-r--r-- | DuetPkg/GetVariables.bat | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/DuetPkg/GetVariables.bat b/DuetPkg/GetVariables.bat index c781228..c81d3d1 100644 --- a/DuetPkg/GetVariables.bat +++ b/DuetPkg/GetVariables.bat @@ -1,3 +1,4 @@ +@echo off
@REM ## @file
@REM #
@REM # Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
@@ -19,20 +20,20 @@ @REM the original equal sign for our first assignation. Then we trim any left whitespaces.
@REM NB: default token delimiters for "for /f" are tab and space.
-@set CONFIG_FILE=%WORKSPACE%\Conf\target.txt
+set CONFIG_FILE=%WORKSPACE%\Conf\target.txt
-@for /f "tokens=1*" %%i in ('type %CONFIG_FILE% ^| find "TOOL_CHAIN_TAG" ^| find /V "#"') do @set TOOL_CHAIN_TAG%%j
-@for /f "tokens=*" %%i in ("%TOOL_CHAIN_TAG%") do @set TOOL_CHAIN_TAG=%%i
+for /f "tokens=1*" %%i in ('type %CONFIG_FILE% ^| find "TOOL_CHAIN_TAG" ^| find /V "#"') do @set TOOL_CHAIN_TAG%%j
+for /f "tokens=*" %%i in ("%TOOL_CHAIN_TAG%") do @set TOOL_CHAIN_TAG=%%i
-@for /f "tokens=1*" %%i in ('type %CONFIG_FILE% ^| find "TARGET" ^| find /V "#" ^| find /V "TARGET_ARCH"') do @set TARGET%%j
-@for /f "tokens=*" %%i in ("%TARGET%") do @set TARGET=%%i
+for /f "tokens=1*" %%i in ('type %CONFIG_FILE% ^| find "TARGET" ^| find /V "#" ^| find /V "TARGET_ARCH"') do @set TARGET%%j
+for /f "tokens=*" %%i in ("%TARGET%") do @set TARGET=%%i
-@for /f "tokens=1*" %%i in ('type %CONFIG_FILE% ^| find "TARGET_ARCH" ^|find /V "#"') do @set TARGET_ARCH%%j
-@for /f "tokens=*" %%i in ("%TARGET_ARCH%") do @set TARGET_ARCH=%%i
+for /f "tokens=1*" %%i in ('type %CONFIG_FILE% ^| find "TARGET_ARCH" ^|find /V "#"') do @set TARGET_ARCH%%j
+for /f "tokens=*" %%i in ("%TARGET_ARCH%") do @set TARGET_ARCH=%%i
-@REM Set defaults if above variables are undefined in target.txt
+REM Set defaults if above variables are undefined in target.txt
-@if "%TOOL_CHAIN_TAG%%"=="" @set TOOL_CHAIN_TAG=MYTOOLS
-@if "%TARGET%"=="" @set TARGET=DEBUG
-@if "%TARGET_ARCH%"=="" @set TARGET_ARCH=IA32
+if "%TOOL_CHAIN_TAG%%"=="" @set TOOL_CHAIN_TAG=MYTOOLS
+if "%TARGET%"=="" @set TARGET=DEBUG
+if "%TARGET_ARCH%"=="" @set TARGET_ARCH=IA32
|