Commit 9a5da0d
Fix brew casks fact for non-mac platforms (#604)
* Fix brew casks fact for non-mac platforms
This command contains a bashism which causes parsing errors for some shells (for example dash as included in raspbian).
POSIX test doesn't include any pattern matching, so fall back on grep as the next best thing.
tested against both a mac (running bigsur) and an rpi (running raspbian)
* Update cask fact test command.
Co-authored-by: Nick Barrett <[email protected]>1 parent abe5f95 commit 9a5da0d
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments