summaryrefslogtreecommitdiffstats
path: root/pkgup
diff options
context:
space:
mode:
Diffstat (limited to 'pkgup')
-rwxr-xr-xpkgup2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgup b/pkgup
index 4ae31ce..a3b8189 100755
--- a/pkgup
+++ b/pkgup
@@ -24,7 +24,7 @@ sed --regexp-extended \
--expression "/^Version:/s/[0-9.]+$/$1/" \
--expression "/github_version/s/[0-9.]+$/$1/" \
--expression "/upstream_version/s/[0-9.]+$/$1/" \
- --expression "/(github|gh)_commit/s/[0-9a-f]{40}$/$2/" \
+ --expression "/(github_|gh_| )commit /s/[0-9a-f]{40}$/$2/" \
--expression "/(github|gh)_date/s/[0-9\-]{10}$/$date/" \
--expression '/^Release:/s/[0-9.]+/1/' \
--expression "s/%changelog/%changelog\n* $rpmdate $vendor - $1-1\n- update to $1\n/" \