aboutsummaryrefslogtreecommitdiff
path: root/pkgdiffs
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-18 12:00:52 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-18 12:00:52 +0200
commit2af4ce763faae0c6f68b171b43e93101047d0c02 (patch)
treefafb211fa4f02a098d979fccf9512f8874373151 /pkgdiffs
parent3522ec2858128e61488249dcb1e130814c8b79fd (diff)
downloadpatches-2af4ce763faae0c6f68b171b43e93101047d0c02.tar.gz
Add pkgpatch script, remove pkgdiff patches
Diffstat (limited to 'pkgdiffs')
-rwxr-xr-xpkgdiffs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgdiffs b/pkgdiffs
index a2743cd..e39d5a0 100755
--- a/pkgdiffs
+++ b/pkgdiffs
@@ -2,9 +2,9 @@
# pkgdiffs -- concatenate pkgdiffs
-[ x"$1" = "-a" ] || pkgdiff "${1%.~1~}"
+[ x"$1" = "-a" ] || pkgdiff "${1%.orig}"
shift
for f in "$@"; do
- pkgdiff "${f%.~1~}" | sed -n '2,$p'
+ pkgdiff "${f%.orig}" | sed -n '2,$p'
done