summaryrefslogtreecommitdiff
path: root/.local/bin/update-agefiles
blob: 0e24062f89f9f72dc45fcc37c32c7155bc8856e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env 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