diff options
author | EuAndreh <eu@euandre.org> | 2021-01-18 22:33:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-18 22:33:30 -0300 |
commit | c2dbf740cb8fe8165546adedca7f6d6c965052fd (patch) | |
tree | 9bb00c93194ba6974b543ab8d4776addc9c937ee /build-aux/ci/git-post-receive.sh | |
parent | git mv vps.tf vultr.tf (diff) | |
download | server-c2dbf740cb8fe8165546adedca7f6d6c965052fd.tar.gz server-c2dbf740cb8fe8165546adedca7f6d6c965052fd.tar.xz |
Move POSIX sh options out of the shebang line
Diffstat (limited to 'build-aux/ci/git-post-receive.sh')
-rwxr-xr-x | build-aux/ci/git-post-receive.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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")" |