Fixed the over-write message to print only with RECONFIG flag

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7219 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2009-01-08 16:58:03 +00:00
parent 1b74e1c7ff
commit b6b554a152
1 changed files with 5 additions and 5 deletions

View File

@ -159,10 +159,10 @@ if NOT exist %WORKSPACE%\Conf (
) )
if NOT exist %WORKSPACE%\Conf\FrameworkDatabase.db ( if NOT exist %WORKSPACE%\Conf\FrameworkDatabase.db (
echo copying ... FrameworkDatabase.template to %WORKSPACE%\Conf\FrameworkDatabase.db if defined RECONFIG echo copying ... FrameworkDatabase.template to %WORKSPACE%\Conf\FrameworkDatabase.db
copy %EDK_TOOLS_PATH%\Conf\FrameworkDatabase.template %WORKSPACE%\Conf\FrameworkDatabase.db > nul copy %EDK_TOOLS_PATH%\Conf\FrameworkDatabase.template %WORKSPACE%\Conf\FrameworkDatabase.db > nul
) else ( ) else (
echo over-write ... FrameworkDatabase.template to %WORKSPACE%\Conf\FrameworkDatabase.db if defined RECONFIG echo over-write ... FrameworkDatabase.template to %WORKSPACE%\Conf\FrameworkDatabase.db
if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\FrameworkDatabase.template %WORKSPACE%\Conf\FrameworkDatabase.db > nul if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\FrameworkDatabase.template %WORKSPACE%\Conf\FrameworkDatabase.db > nul
) )
@ -170,7 +170,7 @@ if NOT exist %WORKSPACE%\Conf\target.txt (
echo copying ... target.template to %WORKSPACE%\Conf\target.txt echo copying ... target.template to %WORKSPACE%\Conf\target.txt
copy %EDK_TOOLS_PATH%\Conf\target.template %WORKSPACE%\Conf\target.txt > nul copy %EDK_TOOLS_PATH%\Conf\target.template %WORKSPACE%\Conf\target.txt > nul
) else ( ) else (
echo over-write ... target.template to %WORKSPACE%\Conf\target.txt if defined RECONFIG echo over-write ... target.template to %WORKSPACE%\Conf\target.txt
if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\target.template %WORKSPACE%\Conf\target.txt > nul if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\target.template %WORKSPACE%\Conf\target.txt > nul
) )
@ -178,7 +178,7 @@ if NOT exist %WORKSPACE%\Conf\tools_def.txt (
echo copying ... tools_def.template to %WORKSPACE%\Conf\tools_def.txt echo copying ... tools_def.template to %WORKSPACE%\Conf\tools_def.txt
copy %EDK_TOOLS_PATH%\Conf\tools_def.template %WORKSPACE%\Conf\tools_def.txt > nul copy %EDK_TOOLS_PATH%\Conf\tools_def.template %WORKSPACE%\Conf\tools_def.txt > nul
) else ( ) else (
echo over-write ... tools_def.template to %WORKSPACE%\Conf\tools_def.txt if defined RECONFIG echo over-write ... tools_def.template to %WORKSPACE%\Conf\tools_def.txt
if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\tools_def.template %WORKSPACE%\Conf\tools_def.txt > nul if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\tools_def.template %WORKSPACE%\Conf\tools_def.txt > nul
) )
@ -186,7 +186,7 @@ if NOT exist %WORKSPACE%\Conf\build_rule.txt (
echo copying ... build_rule.template to %WORKSPACE%\Conf\build_rule.txt echo copying ... build_rule.template to %WORKSPACE%\Conf\build_rule.txt
copy %EDK_TOOLS_PATH%\Conf\build_rule.template %WORKSPACE%\Conf\build_rule.txt > nul copy %EDK_TOOLS_PATH%\Conf\build_rule.template %WORKSPACE%\Conf\build_rule.txt > nul
) else ( ) else (
echo over-write ... build_rule.template to %WORKSPACE%\Conf\build_rule.txt if defined RECONFIG echo over-write ... build_rule.template to %WORKSPACE%\Conf\build_rule.txt
if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\build_rule.template %WORKSPACE%\Conf\build_rule.txt > nul if defined RECONFIG copy /Y %EDK_TOOLS_PATH%\Conf\build_rule.template %WORKSPACE%\Conf\build_rule.txt > nul
) )