summaryrefslogtreecommitdiff
path: root/.local/bin/update-agefiles
blob: 7b3708f33ecc78c446eec200619cd0df906fe84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

cd

IFS=''
find . -not -path '*/.*' -path '*.git' -type d |
while read -r git_dir; do
	pushd "$git_dir"
	~/git-hooks/post-receive.agefile
	popd >/dev/null
done