From 073f42d0935014ea792fc7f2f8e23147baee67fc Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 19 Mar 2023 15:53:32 -0400 Subject: [PATCH] Fix updating access time in snapshot info --- update-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-version b/update-version index a883006..cc0ed43 100755 --- a/update-version +++ b/update-version @@ -80,7 +80,7 @@ POSITION="$( sed -r -i \ -e 's/(%global[[:blank:]]+commit[[:blank:]]+)[[:xdigit:]]{40}[[:blank:]]*$/\1'"${COMMIT}/" \ - -e 's/(%global[[:blank:]]+access[[:blank:]]+)[[:digit:]]{12}[[:blank:]]*$/\1'"$( + -e 's/(%global[[:blank:]]+access[[:blank:]]+)[[:digit:]]{8}[[:blank:]]*$/\1'"$( date -u '+%Y%m%d' )/" \ -e 's/(%global[[:blank:]]+position[[:blank:]]+)[[:digit:]]+[[:blank:]]*$/\1'"${POSITION}/" \