diff options
author | EuAndreh <eu@euandre.org> | 2021-07-16 00:56:48 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-16 09:00:34 -0300 |
commit | c4321ee0cb7d42694d0ffa060a5fa2c1de15177e (patch) | |
tree | b93f84922c74b2b4d0aff91b9fc797f9afd7ef30 /aux | |
parent | aux/ci/git-post-receive.sh: Emit retrigger instruction even when build fails (diff) | |
download | git-permalink-c4321ee0cb7d42694d0ffa060a5fa2c1de15177e.tar.gz git-permalink-c4321ee0cb7d42694d0ffa060a5fa2c1de15177e.tar.xz |
aux/ci/git-post-receive.sh: Stop silently overrinding $_
Diffstat (limited to 'aux')
-rwxr-xr-x | aux/ci/git-post-receive.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh index b064361..b8584bf 100755 --- a/aux/ci/git-post-receive.sh +++ b/aux/ci/git-post-receive.sh @@ -9,7 +9,8 @@ for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do fi done -read -r _ SHA _ # oldrev newrev refname +# shellcheck disable=2034 +read -r _oldrev SHA _refname PROJECT="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix LOGS_DIR="/opt/ci/$PROJECT/logs" |