mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-19 13:00:54 -07:00
Merge pull request #1125 from jonhiggs/nextnumber-macos-support
MacOS support for nextnumber
This commit is contained in:
commit
34e0fa53c8
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# TODO: Find a less trashy way to get the next available error code
|
# TODO: Find a less trashy way to get the next available error code
|
||||||
|
if ! shopt -s globstar
|
||||||
shopt -s globstar
|
then
|
||||||
|
echo "Error: This script depends on Bash 4." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
for i in 1 2
|
for i in 1 2
|
||||||
do
|
do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue