mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fix: linter error in depends/config.site.in (#5812)
## Issue being fixed or feature implemented Fix linter error: ``` In depends/config.site.in line 66: if test "x@host_os@" = xdarwin; then ^----------^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose. Did you mean: if test "@host_os@" = darwin; then For more information: https://www.shellcheck.net/wiki/SC2268 -- Avoid x-prefix in comparisons as ... ^---- failure generated from test/lint/lint-shell.sh ``` ## How Has This Been Tested? run linter `test/lint/lint-all.sh` ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone
This commit is contained in:
parent
a40d676795
commit
d2a8946915
@ -63,7 +63,7 @@ if test -n "@debug@" && test -z "@no_qt@" && test "x$with_gui" != xno; then
|
||||
with_gui=qt5_debug
|
||||
fi
|
||||
|
||||
if test "x@host_os@" = xdarwin; then
|
||||
if test "@host_os@" = darwin; then
|
||||
BREW=no
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user