Skip to content

Commit

Permalink
make mkdir more generic for other os'es
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 2, 2023
1 parent 1fbb798 commit 8e4d7d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickstart/docker/image/getZiti.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $zipFile="${toDir}${dirSeparator}${name}"
if($(Test-Path -Path $zipFile -PathType Leaf)) {
Write-Output "The file has already been downloading. No need to download again"
} else {
mkdir -p "${toDir}" -ErrorAction SilentlyContinue
mkdir -p "${toDir}"
Write-Output "Downloading file "
Write-Output " from: ${downloadUrl} "
Write-Output " to: ${zipFile}"
Expand Down Expand Up @@ -87,4 +87,4 @@ if($addToPath.Trim() -eq "") {
if($addToPath -ilike "y*") {
$env:PATH+="$pathSeparator${toDir}${dirSeparator}${version}"
Write-Output "ziti added to your path!"
}
}

0 comments on commit 8e4d7d9

Please sign in to comment.