]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fixed the over-write message to print only with RECONFIG flag
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 8 Jan 2009 16:58:03 +0000 (16:58 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 8 Jan 2009 16:58:03 +0000 (16:58 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7219 6f19259b-4bc3-4df7-8a09-765794883524

BaseTools/toolsetup.bat

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