From c2dbf740cb8fe8165546adedca7f6d6c965052fd Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 18 Jan 2021 22:33:30 -0300 Subject: Move POSIX sh options out of the shebang line --- build-aux/ci/git-post-receive.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-aux/ci/git-post-receive.sh') diff --git a/build-aux/ci/git-post-receive.sh b/build-aux/ci/git-post-receive.sh index c78f1ac..2f6e3c0 100755 --- a/build-aux/ci/git-post-receive.sh +++ b/build-aux/ci/git-post-receive.sh @@ -1,4 +1,5 @@ -#!/bin/sh -eu +#!/bin/sh +set -eu for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do opt="$(eval "echo \$GIT_PUSH_OPTION_$n")" -- cgit v1.3