X-Git-Url: https://git.realraum.at/?p=noc.git;a=blobdiff_plain;f=ansible%2Ffiles%2Ftorwaechter%2Fpost-receive;h=ec6070b0008c5c10f8c5a0a7ed838250b0cfbd20;hp=c1fdc5483bfaebfa798eceb33bfe727a8b0970a1;hb=c8155f0116aae4d88698eded32c8afc64a28cf7f;hpb=e74b569686b7bf4d0abce63d996acdbfc0e9e646 diff --git a/ansible/files/torwaechter/post-receive b/ansible/files/torwaechter/post-receive index c1fdc54..ec6070b 100755 --- a/ansible/files/torwaechter/post-receive +++ b/ansible/files/torwaechter/post-receive @@ -5,9 +5,9 @@ set -eu -keys_branch=$(git config hooks.keys_branch 2>/dev/null) -keys_file=$(git config hooks.keys_file 2>/dev/null) -keys_pipe_to=$(git config hooks.keys_pipe_to 2>/dev/null) +keys_branch=$(git config hooks.keys_branch 2>/dev/null || echo "") +keys_file=$(git config hooks.keys_file 2>/dev/null || echo "") +keys_pipe_to=$(git config hooks.keys_pipe_to 2>/dev/null || echo "") keys_branch=${keys_branch:-master} keys_file=${keys_file:-keys}