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 6878ddb..90f3b39 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