From 5c0be166eee8407decf6defdee598b306ca67b9f Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Sat, 13 Jun 2009 04:17:19 +0000 Subject: [PATCH] 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 --- utils/exeflat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/exeflat.c b/utils/exeflat.c index 483f3b6..62dde85 100644 --- a/utils/exeflat.c +++ b/utils/exeflat.c @@ -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); }