mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-06 23:40:49 +08:00
Rely upon /usr/bin/env to find bash
This allows you to use the homebrew install Bash 4 on MacOS systems. It should compatible with most if not all modern Linux distros.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# TODO: Find a less trashy way to get the next available error code
|
||||
if ! shopt -s globstar
|
||||
then
|
||||
|
Reference in New Issue
Block a user