Fixed OS comparison for macOS

This was always failing on macOS instead of working there...

See #1635 for the original commit that introduced this issue.
pull/1650/head
Nils Winkler 2020-08-10 09:06:36 +02:00
parent 24ed7c6b09
commit 230bafd0d1
No known key found for this signature in database
GPG Key ID: 317C6E70C88A89B1
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Only operate on MacOS since there are no linux paths # Only operate on MacOS since there are no linux paths
if [[ "$(uname -s)" == 'Darwin' ]] ; then if [[ "$(uname -s)" != 'Darwin' ]] ; then
_log_warning "unsupported operating system - only 'Darwin' is supported" _log_warning "unsupported operating system - only 'Darwin' is supported"
return 0 return 0
fi fi