Tangling with filenames
filename join does not work as expected
This commit is contained in:
parent
c3a6489b93
commit
dd99d624b1
1 changed files with 2 additions and 2 deletions
|
@ -596,8 +596,8 @@ start_from_file(PCLopts) ->
|
|||
levelzero_maxcachesize=MaxTableSize},
|
||||
|
||||
%% Open manifest
|
||||
ManifestPath = filename:join(InitState#state.root_path, ?MANIFEST_FP),
|
||||
filelib:ensure_dir(ManifestPath),
|
||||
ManifestPath = InitState#state.root_path ++ ?MANIFEST_FP ++ "/",
|
||||
ok = filelib:ensure_dir(ManifestPath),
|
||||
{ok, Filenames} = file:list_dir(ManifestPath),
|
||||
CurrRegex = "nonzero_(?<MSN>[0-9]+)\\." ++ ?CURRENT_FILEX,
|
||||
ValidManSQNs = lists:foldl(fun(FN, Acc) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue