diff options
| author | EuAndreh <eu@euandre.org> | 2021-06-11 23:51:49 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-06-11 23:51:49 -0300 |
| commit | 2d835687aeb2c10a245ddf70d164a37aa683d242 (patch) | |
| tree | 5e949016af8f56ad4da632f1edde9c0b57ec2184 /aux/ci/git-post-receive.sh | |
| parent | aux/workflow/public.sh: Mark as executable (diff) | |
| download | git-permalink-2d835687aeb2c10a245ddf70d164a37aa683d242.tar.gz git-permalink-2d835687aeb2c10a245ddf70d164a37aa683d242.tar.xz | |
aux/: Update files
Diffstat (limited to 'aux/ci/git-post-receive.sh')
| -rwxr-xr-x | aux/ci/git-post-receive.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh index f8986ed..ee8075f 100755 --- a/aux/ci/git-post-receive.sh +++ b/aux/ci/git-post-receive.sh @@ -2,11 +2,11 @@ set -eu for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do - opt="$(eval "echo \$GIT_PUSH_OPTION_$n")" - if [ "$opt" = skip-ci ] || [ "$opt" = ci-skip ]; then - printf "\n'%s' option detected, not running ci-build.sh\n\n" "$opt" - exit 0 - fi + opt="$(eval "echo \$GIT_PUSH_OPTION_$n")" + if [ "$opt" = skip-ci ] || [ "$opt" = ci-skip ]; then + printf "\n'%s' option detected, not running ci-build.sh\n\n" "$opt" + exit 0 + fi done PACKAGE="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix |
