]> git.proxmox.com Git - mirror_edk2.git/commitdiff
GenTeImage can't work well with Linux is caused by its parameter parsing. GenTeImage...
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 3 Aug 2006 09:40:28 +0000 (09:40 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 3 Aug 2006 09:40:28 +0000 (09:40 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1185 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/TianoTools/GenTEImage/GenTEImage.c

index 6878ddbe4018742e3246a2d3fd497ee44233dc46..90f3b3919a689eb2fb588b42cb60e87e1c369b35 100644 (file)
@@ -672,11 +672,7 @@ Returns:
   //\r
   // Process until no more arguments\r
   //\r
-  while ((Argc > 0) && ((Argv[0][0] == '-') || (Argv[0][0] == '/'))) {\r
-    //\r
-    // To simplify string comparisons, replace slashes with dashes\r
-    //\r
-    Argv[0][0] = '-';\r
+  while ((Argc > 0) && (Argv[0][0] == '-')) {\r
     if (stricmp (Argv[0], "-o") == 0) {\r
       //\r
       // Output filename specified with -o\r