diff --git a/run-clang-format.ps1 b/run-clang-format.ps1 index 063cec7af..3ff6998a6 100644 --- a/run-clang-format.ps1 +++ b/run-clang-format.ps1 @@ -25,7 +25,7 @@ if (-not (Test-Path $clangFormatFilePath) -or ($currentVersion -ne $requiredVers } $wc = New-Object net.webclient - $wc.Downloadfile($url, $llvmInstallerPath) + $wc.Downloadfile($url, $PSScriptRoot + $llvmInstallerPath) $sevenZipPath = "C:\Program Files\7-Zip\7z.exe" $specificFileInArchive = "bin\clang-format.exe"