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:
Bart Oldeman 2009-06-13 04:17:19 +00:00
parent 78fc7a1e6d
commit 5c0be166ee

View File

@ -389,11 +389,11 @@ int main(int argc, char **argv)
if (!UPX) if (!UPX)
exit(0); exit(0);
/* move kernel.sys tmp$$$$$.exe */ /* move kernel.sys tmp.exe */
tmpexe = argv[2]; tmpexe = argv[2];
if (!compress_sys_file) if (!compress_sys_file)
{ {
tmpexe = "tmp$$$$$.exe"; tmpexe = "tmp.exe";
rename(argv[2], tmpexe); rename(argv[2], tmpexe);
} }