|
Lubomir Rintel |
2ee166 |
--- otp_src_R13B02/lib/reltool/src/reltool_target.erl 2009-09-18 16:25:49.000000000 +0200
|
|
Lubomir Rintel |
2ee166 |
+++ otp_src_R13B02_patched/lib/reltool/src/reltool_target.erl 2009-09-22 17:45:33.000000000 +0200
|
|
Lubomir Rintel |
2ee166 |
@@ -1014,7 +1014,7 @@
|
|
Lubomir Rintel |
2ee166 |
TargetDir2 = filename:join([TargetDir, Dir]),
|
|
Lubomir Rintel |
2ee166 |
cleanup_spec(Files, TargetDir2),
|
|
Lubomir Rintel |
2ee166 |
file:del_dir(TargetDir2);
|
|
Lubomir Rintel |
2ee166 |
-cleanup_spec({create_dir, _OldDir, NewDir, Files}, TargetDir) ->
|
|
Lubomir Rintel |
2ee166 |
+cleanup_spec({create_dir, NewDir, _OldDir, Files}, TargetDir) ->
|
|
Lubomir Rintel |
2ee166 |
TargetDir2 = filename:join([TargetDir, NewDir]),
|
|
Lubomir Rintel |
2ee166 |
cleanup_spec(Files, TargetDir2),
|
|
Lubomir Rintel |
2ee166 |
file:del_dir(TargetDir2);
|
|
Lubomir Rintel |
2ee166 |
@@ -1152,7 +1152,7 @@
|
|
Lubomir Rintel |
2ee166 |
"Progname=erl\r\n",
|
|
Lubomir Rintel |
2ee166 |
"Rootdir=", NativeRootDir, "\r\n"],
|
|
Lubomir Rintel |
2ee166 |
IniFile = filename:join([BinDir, "erl.ini"]),
|
|
Lubomir Rintel |
2ee166 |
- file:write(IniFile, IniData);
|
|
Lubomir Rintel |
2ee166 |
+ ok = file:write_file(IniFile, IniData);
|
|
Lubomir Rintel |
2ee166 |
_ ->
|
|
Lubomir Rintel |
2ee166 |
subst_src_scripts(start_scripts(), ErtsBinDir, BinDir,
|
|
Lubomir Rintel |
2ee166 |
[{"FINAL_ROOTDIR", TargetDir2}, {"EMU", "beam"}],
|