mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-23 22:04:33 +02:00
Use tmp.exe instead of tmp$$$$$.exe -- the Linux cross compilation really
has trouble without quotes because $$ can be expanded as a shell variable when passed to system(). git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1443 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
78fc7a1e6d
commit
5c0be166ee
@ -389,11 +389,11 @@ int main(int argc, char **argv)
|
||||
if (!UPX)
|
||||
exit(0);
|
||||
|
||||
/* move kernel.sys tmp$$$$$.exe */
|
||||
/* move kernel.sys tmp.exe */
|
||||
tmpexe = argv[2];
|
||||
if (!compress_sys_file)
|
||||
{
|
||||
tmpexe = "tmp$$$$$.exe";
|
||||
tmpexe = "tmp.exe";
|
||||
rename(argv[2], tmpexe);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user