From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1F51139083 for ; Fri, 8 Dec 2017 08:04:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16DEBE0F85; Fri, 8 Dec 2017 08:04:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9CB4E0F85 for ; Fri, 8 Dec 2017 08:04:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3225833BF24 for ; Fri, 8 Dec 2017 08:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9FDDAE6B for ; Fri, 8 Dec 2017 08:04:49 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1512720280.c19080d5f4c096f89ce17768e1f231b9f1db54b7.robbat2@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto-amd64.conf X-VCS-Directories: tools/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: c19080d5f4c096f89ce17768e1f231b9f1db54b7 X-VCS-Branch: master Date: Fri, 8 Dec 2017 08:04:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa68db60-bab5-442f-9f98-04a29288c82e X-Archives-Hash: 61baea5872adedc1713c54b5ea08be8b commit: c19080d5f4c096f89ce17768e1f231b9f1db54b7 Author: Robin H. Johnson gentoo org> AuthorDate: Fri Dec 8 08:04:40 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Dec 8 08:04:40 2017 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=c19080d5 catalyst-auto: tweak timestamp. Signed-off-by: Robin H. Johnson gentoo.org> tools/catalyst-auto-amd64.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/catalyst-auto-amd64.conf b/tools/catalyst-auto-amd64.conf index 5676f5c1..82bc147c 100644 --- a/tools/catalyst-auto-amd64.conf +++ b/tools/catalyst-auto-amd64.conf @@ -47,7 +47,7 @@ EXTENSIONS="[.tar.xz,.tar.bz2,.tar.gz,.tar,.sfs]" give_latest_from_dates() { sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ + sort -k +1 -n -t '~' | \ awk -F\~ \ 'BEGIN{i=$1; o=$0}; { if($1 != i && i != "") { print o; }; i=$1; o=$0; } @@ -67,6 +67,7 @@ update_symlinks() { of=$(perl -p \ -e 's/20\d{6}T\d{6}Z/latest/g;' \ -e 's/20\d{6}\d{6}/latest/g;' \ + -e 's/20\d{6}/latest/g;' \ -e 's/20\d{2}\.\d{2}/latest/g;' \ <<<"$f") ln -sf "$f" "$of"