From c4321ee0cb7d42694d0ffa060a5fa2c1de15177e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 16 Jul 2021 00:56:48 -0300 Subject: aux/ci/git-post-receive.sh: Stop silently overrinding $_ --- aux/ci/git-post-receive.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'aux/ci/git-post-receive.sh') 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" -- cgit v1.2.3