aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/gen-bin-list.sh
blob: b5c64081829d396d40681aa2f90fd430dd4a6b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# generate file lists for each subpackage that has /usr/bin or /usr/sbin

for i in pkg/*/usr/bin/*  pkg/*/usr/sbin/*  pkg/*/usr/lib/samba/*/*.so; do
	[ -f "$i" ] || continue
	n=${i#pkg/}
	n=${n%%/*}

	f=${i#pkg/*/}
	echo "$n $f"
done