From 72b5c8cea054b0171e249617ca50348d01930d05 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 16 Jul 2020 22:34:41 +0200 Subject: [PATCH] Try to take appveyor mac/win differences regarding env variables into account. --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index d2d3e94ce..ed622df04 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -48,7 +48,7 @@ test_script: after_test: # Only package on the master repo - ps: >- - If (!(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME) -Or ($env:FORCE_PACKAGING -eq 1)) { + If (!(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME) -Or ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -eq "") -Or ($env:FORCE_PACKAGING -eq 1)) { # Continue on eror $ErrorActionPreference = "Continue" # This is where we create a package using PyInstaller