Merge pull request #1125 from jonhiggs/nextnumber-macos-support

MacOS support for nextnumber
This commit is contained in:
Vidar Holen 2018-02-25 17:08:15 -08:00 committed by GitHub
commit 34e0fa53c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,10 @@
#!/bin/bash
#!/usr/bin/env bash
# TODO: Find a less trashy way to get the next available error code
shopt -s globstar
if ! shopt -s globstar
then
echo "Error: This script depends on Bash 4." >&2
exit 1
fi
for i in 1 2
do