summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-03 09:40:28 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-03 09:40:28 +0000
commitca9ea8d956a81877e6d56b3224fd6693d9bfa5b1 (patch)
treea0ab34825b75de2374fc047c5b5a781d85bf495b
parent5afd499259e1a9b0ba58445a116f130b383d1879 (diff)
downloadedk2-platforms-ca9ea8d956a81877e6d56b3224fd6693d9bfa5b1.tar.xz
GenTeImage can't work well with Linux is caused by its parameter parsing. GenTeImage will replace all Parameter's first character to '-' if start with '/'. Actually, it is not necessary to deal with, after remove this processor, it works well now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1185 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/Source/TianoTools/GenTEImage/GenTEImage.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tools/Source/TianoTools/GenTEImage/GenTEImage.c b/Tools/Source/TianoTools/GenTEImage/GenTEImage.c
index 6878ddbe40..90f3b3919a 100644
--- a/Tools/Source/TianoTools/GenTEImage/GenTEImage.c
+++ b/Tools/Source/TianoTools/GenTEImage/GenTEImage.c
@@ -672,11 +672,7 @@ Returns:
//
// Process until no more arguments
//
- while ((Argc > 0) && ((Argv[0][0] == '-') || (Argv[0][0] == '/'))) {
- //
- // To simplify string comparisons, replace slashes with dashes
- //
- Argv[0][0] = '-';
+ while ((Argc > 0) && (Argv[0][0] == '-')) {
if (stricmp (Argv[0], "-o") == 0) {
//
// Output filename specified with -o