2023-07-27 17:16:41 +02:00
|
|
|
#!/bin/sh
|
2023-04-10 18:31:48 +02:00
|
|
|
# Set exec flag on all files that should be executable
|
2023-11-04 19:08:39 +01:00
|
|
|
case "$1" in ([0-9]) depth=$1; shift;; esac
|
|
|
|
find -maxdepth ${depth:-4} \( -name "*.sh" -o -name "*.py" -o -path '*/githooks/*' \) "$@" -exec chmod -v +x {} +
|