aboutsummaryrefslogtreecommitdiff
path: root/bin/pkgpatchex
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-26 22:37:51 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-26 22:37:51 +0200
commit6b773971fad1d4967cd0adf9548af261f970a2d2 (patch)
tree574b281361c38c92fd68759f11e7d0ce51de2bac /bin/pkgpatchex
parent763e138b3dc2c5b68aa7edf8d3e9e520380495d1 (diff)
downloadpatches-6b773971fad1d4967cd0adf9548af261f970a2d2.tar.gz
Add pkgpatchex script
Diffstat (limited to 'bin/pkgpatchex')
-rwxr-xr-xbin/pkgpatchex7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/pkgpatchex b/bin/pkgpatchex
new file mode 100755
index 0000000..c475a4b
--- /dev/null
+++ b/bin/pkgpatchex
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# pkgpatchall -- apply all patches
+
+ls "$(whereispatch -i)"/patch-* | while read -r patch; do
+ pkgpatch <"$patch"
+done