Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/nit-picker14
1 files changed, 13 insertions, 1 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index f7c59f5..1dea301 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -203,8 +203,20 @@ while pgrep -x ii >/dev/null \
| sort -u \
> "${tmp_dir}/db-deps"
if ! diff -q "${tmp_dir}/db-deps" "${tmp_dir}/pkg-deps"; then
- printf 'dependencies of %s differ between the package and our database\n' \
+ build_date=$(
+ bsdtar -Oxf "${tmp_dir}/${parameters}" '.PKGINFO' \
+ | sed '
+ s/^builddate = //
+ t
+ d
+ '
+ )
+ build_date=$(
+ date -I -d@"${build_date}"
+ )
+ printf 'dependencies of %s (built on %s) differ between the package and our database\n' \
"${parameters}" \
+ "${build_date}" \
| irc_say 'deep42thought'
if ! ${irc}; then
diff -u --color "${tmp_dir}/db-deps" "${tmp_dir}/pkg-deps" || true