Skip to content

Commit

Permalink
Don't run executable check on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Feb 23, 2021
1 parent 79687e4 commit 5812f0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/download_ap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,10 @@ $actions = [ordered]@{
if($IsWindows) { return $null } chmod +x $ap_path
if ($LASTEXITCODE -ne 0) { return $false } else { return $true }
} )
"Check" = ("AP executable should have execute permission", { $(test -x $ap_path ; 0 -eq $LASTEXITCODE) } )
"Check" = ("AP executable should have execute permission", {
if($IsWindows) { return $null }
$(test -x $ap_path ; 0 -eq $LASTEXITCODE)
} )
"Uninstall" = $null
}
"Check AP runs" = @{
Expand Down

0 comments on commit 5812f0b

Please sign in to comment.