Merge pull request #40 from jsoref/glob

Handle bash globs
This commit is contained in:
2021-03-01 22:57:32 +01:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set
# x would be for showing the commands before they are executed
set -eu
shopt -s globstar nullglob
# FUNCTIONS
# Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh)