diff --git a/apps/egs_patch/priv/patch/DATA/1ffd0db3e0b54048caff394e9c09eda8 b/apps/egs_patch/priv/files/DATA/1ffd0db3e0b54048caff394e9c09eda8 similarity index 100% rename from apps/egs_patch/priv/patch/DATA/1ffd0db3e0b54048caff394e9c09eda8 rename to apps/egs_patch/priv/files/DATA/1ffd0db3e0b54048caff394e9c09eda8 diff --git a/apps/egs_patch/priv/patch/DATA/bb04cc8e1727288bd2a336d60040eff1 b/apps/egs_patch/priv/files/DATA/bb04cc8e1727288bd2a336d60040eff1 similarity index 100% rename from apps/egs_patch/priv/patch/DATA/bb04cc8e1727288bd2a336d60040eff1 rename to apps/egs_patch/priv/files/DATA/bb04cc8e1727288bd2a336d60040eff1 diff --git a/apps/egs_patch/src/egs_patch_files_db.erl b/apps/egs_patch/src/egs_patch_files_db.erl index e479eff..ef539c0 100644 --- a/apps/egs_patch/src/egs_patch_files_db.erl +++ b/apps/egs_patch/src/egs_patch_files_db.erl @@ -111,7 +111,7 @@ build_state() -> PrivDir = code:priv_dir(App), {ok, Terms} = file:consult([PrivDir, "/patch.conf"]), 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}. %% The file number must start at 0.