From b88a22504f29127e0b530f923d159dac053c743e Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman Date: Sat, 30 Aug 2025 02:36:16 +0300 Subject: [PATCH] libfetchers: Fix mingw build --- src/libfetchers/tarball.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index c1b28f674..52038317e 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -120,7 +120,7 @@ static DownloadTarballResult downloadTarball_( throw Error("tarball '%s' does not exist.", localPath); } if (is_directory(localPath)) { - if (std::filesystem::exists(localPath + "/.git")) { + if (exists(localPath / ".git")) { throw Error( "tarball '%s' is a git repository, not a tarball. Please use `git+file` as the scheme.", localPath); }