f66238f0458851cf02ca3a2762f315c8d6f4f1cc
For some reason globbing doesn't work properly for empty directories, adjust the check in run_hooks to ensure the directory both exists and contains something, otherwise we get an error about "/hooks-cleanup/*.sh" not existing. / # mkdir blah / # for x in blah/*; do echo $x; done blah/* / # touch blah/beep / # for x in blah/*; do echo $x; done blah/beep Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%