From e1f9dea8d5c93f00309fcb2fa3d7ec38a91432cc Mon Sep 17 00:00:00 2001 From: Conrad Date: Fri, 24 Jan 2020 12:13:02 +0100 Subject: [PATCH] Added verbose shell output --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0ca662c..5cf2551 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh -l -# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set -set -eu +# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set, x is for showing the commands before they are executed +set -eux # Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh) git_setup ( ) {