]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/TianoTools/GenTEImage/GenTEImage.c
GenTeImage can't work well with Linux is caused by its parameter parsing. GenTeImage...
[mirror_edk2.git] / 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