mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Create directory for ignore list when environment variable is used
This commit is contained in:
parent
4ea5860252
commit
fe128694e3
1 changed files with 4 additions and 2 deletions
|
|
@ -1099,6 +1099,7 @@ procedure SaveGlobs;
|
|||
var
|
||||
TmpConfig: TXmlConfig;
|
||||
Ini: TIniFileEx = nil;
|
||||
FileName: UTF8String;
|
||||
begin
|
||||
if (gUseConfigInProgramDirNew <> gUseConfigInProgramDir) and
|
||||
(gpCmdLineCfgDir = EmptyStr) then
|
||||
|
|
@ -1145,8 +1146,9 @@ begin
|
|||
end;
|
||||
if gIgnoreListFileEnabled then
|
||||
begin
|
||||
mbForceDirectory(ExtractFileDir(gIgnoreListFile));
|
||||
glsIgnoreList.SaveToFile(ReplaceEnvVars(gIgnoreListFile));
|
||||
FileName:= ReplaceEnvVars(gIgnoreListFile);
|
||||
mbForceDirectory(ExtractFileDir(FileName));
|
||||
glsIgnoreList.SaveToFile(FileName);
|
||||
end;
|
||||
gMultiArcList.SaveToFile(gpCfgDir + 'multiarc.ini');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue