aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/git-post-receive.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-11 23:37:59 -0300
committerEuAndreh <eu@euandre.org>2021-06-11 23:37:59 -0300
commitab3ad8fca4ec645854a54a50de4ee21c8fd72978 (patch)
treed8910a95004c59c11a7f557379b0eb35284ea5ac /aux/ci/git-post-receive.sh
parentservers/nixvps/configuration.nix: Use subfolders of the same domain over subd... (diff)
downloadtoph-ab3ad8fca4ec645854a54a50de4ee21c8fd72978.tar.gz
toph-ab3ad8fca4ec645854a54a50de4ee21c8fd72978.tar.xz
aux/: Update files
Diffstat (limited to 'aux/ci/git-post-receive.sh')
-rwxr-xr-xaux/ci/git-post-receive.sh10
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