diff options
author | Håkan Mattsson <[email protected]> | 2010-03-05 14:33:00 +0100 |
---|---|---|
committer | Håkan Mattsson <[email protected]> | 2010-03-16 14:28:25 +0100 |
commit | 26d609d3193c0adb371e27317fa0de7cda203061 (patch) | |
tree | f6eea3e93f67bea6343029c920a6dc7dd80f9901 /lib/reltool/src/reltool_mod_win.erl | |
parent | 31b790bdf8442a7eee22bfad0887d42278ffc18b (diff) | |
download | otp-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.erl | 2 |
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}} -> |