aboutsummaryrefslogtreecommitdiff
path: root/bin/pkgpatchex
blob: 0c94b8fa1cbaeba0a8c6381cdae8e0bf205d8147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -ef

# pkgpatchex -- apply all patches

IFS='
'

for patch in $(find $(whereispatch -i) -name 'patch-*' -type f); do
	echo "${0##*/}: applying $(basename $patch)"
	pkgpatch <$patch
done

pkgclear 2>/dev/null || true