mirror of
https://github.com/cc65/cc65.git
synced 2025-01-01 03:30:20 +00:00
Merge pull request #1991 from spiro-trikaliotis/fix-msys2-test
Remove .exe from file output
This commit is contained in:
commit
c097401f8b
@ -181,6 +181,17 @@ void InitCmdLine (int* aArgCount, char*** aArgVec, const char* aProgName)
|
||||
/* Use the default */
|
||||
ProgName = aProgName;
|
||||
}
|
||||
else {
|
||||
/* remove .exe extension, if there is any
|
||||
**
|
||||
** Note: This creates a new string that is
|
||||
** never free()d.
|
||||
** As this is exactly only string, and it
|
||||
** lives for the whole lifetime of the tool,
|
||||
** this is not an issue.
|
||||
*/
|
||||
ProgName = MakeFilename (ProgName, "");
|
||||
}
|
||||
}
|
||||
|
||||
/* Make a CmdLine struct */
|
||||
|
Loading…
Reference in New Issue
Block a user