diff --git a/dev/conda/build-generic.sh b/dev/conda/build-generic.sh index 0b8aa45d1..5b8e98ae5 100755 --- a/dev/conda/build-generic.sh +++ b/dev/conda/build-generic.sh @@ -112,7 +112,7 @@ then fi set -x -if [[ $PLATFORM =~ osx-* ]] && [[ ${GITHUB_ACTION:-0} == 0 ]] +if [[ $PLATFORM =~ osx-* ]] && [[ ${GITHUB_ACTION:-0} != 0 ]] then # Use this syntax on Mac, unless in GitHub, # where we install Homebrew gnu-sed