mirror of
https://github.com/NixOS/nix
synced 2025-07-05 08:11:47 +02:00
use createDirs consistently everywhere
This commit is contained in:
parent
6309bbb426
commit
a8217f2642
3 changed files with 4 additions and 8 deletions
|
@ -166,7 +166,7 @@ void unpackTarfile(Source & source, const fs::path & destDir)
|
|||
{
|
||||
auto archive = TarArchive(source);
|
||||
|
||||
fs::create_directories(destDir);
|
||||
createDirs(destDir);
|
||||
extract_archive(archive, destDir);
|
||||
}
|
||||
|
||||
|
@ -174,7 +174,7 @@ void unpackTarfile(const fs::path & tarFile, const fs::path & destDir)
|
|||
{
|
||||
auto archive = TarArchive(tarFile);
|
||||
|
||||
fs::create_directories(destDir);
|
||||
createDirs(destDir);
|
||||
extract_archive(archive, destDir);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue