Fix test
This commit is contained in:
parent
d85a6776b9
commit
012f4e6b40
|
@ -31,7 +31,7 @@ final class EnvUpdater: EnvUpdating {
|
|||
// Download
|
||||
let outputPath = googleCloudStorageClient.latestTuistEnvBundleURL().absoluteString
|
||||
let downloadPath = directory.appending(component: "tuistenv.zip")
|
||||
try System.shared.run("/usr/bin/curl", "-LSs", "--output", outputPath)
|
||||
try System.shared.run("/usr/bin/curl", "-LSs", "--output", downloadPath.pathString, outputPath)
|
||||
try System.shared.run("/usr/bin/unzip", "-o", downloadPath.pathString, "-d", "/tmp/")
|
||||
let binaryPath = "/tmp/tuistenv"
|
||||
try System.shared.run(["/bin/chmod", "+x", binaryPath])
|
||||
|
|
Loading…
Reference in New Issue