Merge pull request #1650 from nwinkler/git-completion-darwin-fix

Fixed OS comparison for macOS
pull/1651/head
Nils Winkler 2020-08-10 09:09:30 +02:00 committed by GitHub
commit 9cc9bd5932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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