diff options
author | Be <be@mixxx.org> | 2020-11-24 13:57:39 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-11-24 13:59:29 -0600 |
commit | 73831d214461dc0c6c9357a6b43ffd1ef3a42818 (patch) | |
tree | c49e32081479dc3f3cd213b85fece6f84b045bf7 | |
parent | b43b37aa10a222fc642f10fa76307dbc418f56da (diff) |
macos_buildenv.sh: fix GitHub Actions build
-rwxr-xr-x | tools/macos_buildenv.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/macos_buildenv.sh b/tools/macos_buildenv.sh index 70644d7e7a..6fe0a4197a 100755 --- a/tools/macos_buildenv.sh +++ b/tools/macos_buildenv.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -if [ "$2" != "--ghactions" ] && ! $(return 0 2>/dev/null); then +if [ -z "${GITHUB_ENV}" ] && ! $(return 0 2>/dev/null); then echo "This script must be run by sourcing it:" echo "source $0 $@" exit 1 |