egs_patch: Rename the folder containing the patch files
This commit is contained in:
parent
368bb0f7b4
commit
6579c26f98
@ -111,7 +111,7 @@ build_state() ->
|
|||||||
PrivDir = code:priv_dir(App),
|
PrivDir = code:priv_dir(App),
|
||||||
{ok, Terms} = file:consult([PrivDir, "/patch.conf"]),
|
{ok, Terms} = file:consult([PrivDir, "/patch.conf"]),
|
||||||
Folders = proplists:get_value(folders, Terms),
|
Folders = proplists:get_value(folders, Terms),
|
||||||
{ListBin, Files} = build_list_bin(Folders, Terms, [PrivDir, "/patch/"]),
|
{ListBin, Files} = build_list_bin(Folders, Terms, [PrivDir, "/files/"]),
|
||||||
#state{list_bin=ListBin, files=Files}.
|
#state{list_bin=ListBin, files=Files}.
|
||||||
|
|
||||||
%% The file number must start at 0.
|
%% The file number must start at 0.
|
||||||
|
Loading…
Reference in New Issue
Block a user