1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 07:22:43 +01:00

use createDirs consistently everywhere

(cherry picked from commit a8217f2642)
This commit is contained in:
Jörg Thalheim 2025-03-12 17:49:45 +01:00 committed by Mergify
parent 6f3dd6527d
commit e308524097
3 changed files with 4 additions and 8 deletions

View file

@ -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);
}