commit 0d078306a50c9afd2b042758db2be5f5feed8ec1
parent cd44bb1804693b1e9f7e1253f75e68bd781d743d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 25 Aug 2025 12:05:43 +0200
Take hooks into account in the list of shell files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/list.sh b/list.sh
@@ -84,7 +84,7 @@ shell()
{
_find_args="$(\
printf '%s\n' "${sections}" \
- | sed -e 's/^/! -path /' \
+ | sed -e 's/^\(.\{0,\}\)$/! -path \1 ! -path \1\/hooks/' \
| tr '\n' ' ')"
eval "exec find . ${search_dirs} \