diff --git a/Sources/CLI/System/Kernel/KernelSet.swift b/Sources/CLI/System/Kernel/KernelSet.swift index a63a4c4d..2fe18561 100644 --- a/Sources/CLI/System/Kernel/KernelSet.swift +++ b/Sources/CLI/System/Kernel/KernelSet.swift @@ -77,7 +77,7 @@ extension Application { throw ArgumentParser.ValidationError("Missing argument '--tar") } let platform = try getSystemPlatform() - let localTarPath = URL(fileURLWithPath: tarPath, relativeTo: .currentDirectory()).absoluteString + let localTarPath = URL(fileURLWithPath: tarPath, relativeTo: .currentDirectory()).path let fm = FileManager.default if fm.fileExists(atPath: localTarPath) { try await ClientKernel.installKernelFromTar(tarFile: localTarPath, kernelFilePath: binaryPath, platform: platform, force: force)