aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool_mod_win.erl
diff options
context:
space:
mode:
authorHåkan Mattsson <[email protected]>2010-03-05 14:33:00 +0100
committerHåkan Mattsson <[email protected]>2010-03-16 14:28:25 +0100
commit26d609d3193c0adb371e27317fa0de7cda203061 (patch)
treef6eea3e93f67bea6343029c920a6dc7dd80f9901 /lib/reltool/src/reltool_mod_win.erl
parent31b790bdf8442a7eee22bfad0887d42278ffc18b (diff)
downloadotp-26d609d3193c0adb371e27317fa0de7cda203061.tar.gz
otp-26d609d3193c0adb371e27317fa0de7cda203061.tar.bz2
otp-26d609d3193c0adb371e27317fa0de7cda203061.zip
Make reltool independent of the function escript:foldl/3
The function is undocumented and is removed. The new implementation uses the newly introduced functions escript:extract/2 and zip:foldl/3. These new functions are documented (which implies that they are a part of the public API).
Diffstat (limited to 'lib/reltool/src/reltool_mod_win.erl')
-rw-r--r--lib/reltool/src/reltool_mod_win.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reltool/src/reltool_mod_win.erl b/lib/reltool/src/reltool_mod_win.erl
index c05f73cde8..754f6a0e8a 100644
--- a/lib/reltool/src/reltool_mod_win.erl
+++ b/lib/reltool/src/reltool_mod_win.erl
@@ -379,7 +379,7 @@ find_escript_bin(#app{active_dir = ActiveDir}, Mod) ->
filename:dirname(ActiveDir)}
end,
try
- case escript:foldl(Fun, NotFound, Escript) of
+ case reltool_utils:escript_foldl(Fun, NotFound, Escript) of
{ok, {text, Bin}} ->
Bin;
{ok, {obj, Bin}} ->