~kaction/config

ref: bd83900251b2478f4863aa288b5c68d655e63eba config/universe/githooks/run-parts.sh -rw-r--r-- 282 bytes
bd839002 — Dmitry Bogatov Recover git-logp script 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!@busybox@/bin/sh
set -eu
export PATH=@busybox@/bin
export LC_COLLATION=POSIX

directory=$1; shift
tempfile=$(mktemp)
cat > "${tempfile}"
cleanup() { rm -f "${tempfile}"; }
trap cleanup 0

for script in "${directory}"/* ; do
	if [ -x "${script}" ] && [ -f "${script}" ] ; then