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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E50B7158088 for ; Sun, 30 Jan 2022 09:24:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BEA1C2BC040; Sun, 30 Jan 2022 09:24:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A655C2BC040 for ; Sun, 30 Jan 2022 09:24:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4FBD343130 for ; Sun, 30 Jan 2022 09:24:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E37C2B3 for ; Sun, 30 Jan 2022 09:24:21 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1643529157.128dff66839fcc5d02bd2b61592eec486919e404.vapier@gentoo> Subject: [gentoo-commits] proj/autotools-wrappers:main commit in: / X-VCS-Repository: proj/autotools-wrappers X-VCS-Files: ac-wrapper.sh X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 128dff66839fcc5d02bd2b61592eec486919e404 X-VCS-Branch: main Date: Sun, 30 Jan 2022 09:24:21 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0107ed22-6d3d-4a6f-af74-5977aefca0f1 X-Archives-Hash: 4d87573dc245d746833cc1ed5cfcc630 commit: 128dff66839fcc5d02bd2b61592eec486919e404 Author: Mike Frysinger gentoo org> AuthorDate: Sun Jan 30 07:52:37 2022 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Jan 30 07:52:37 2022 +0000 URL: https://gitweb.gentoo.org/proj/autotools-wrappers.git/commit/?id=128dff66 autoconf-wrapper: export WANT_AUTOCONF to the full version When exporting the WANT_AUTOCONF version based on what we picked, use the full version instead of the short 2.1 or 2.5 values since they may expand into an unrelated version (since we accept many versions as an alias to 2.5). Practically speaking, there shouldn't be a difference, but this will make things a bit more clear. Signed-off-by: Mike Frysinger gentoo.org> ac-wrapper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ac-wrapper.sh b/ac-wrapper.sh index ca23928..6cb436b 100755 --- a/ac-wrapper.sh +++ b/ac-wrapper.sh @@ -183,9 +183,8 @@ fi if [ -z "${WANT_AUTOCONF}" ] ; then for v in ${vers} ; do auto_ver=${v%:*} - want_ver=${v#*:} if [ "${binary}" = "${full_argv0}-${auto_ver}" ] ; then - export WANT_AUTOCONF="${want_ver}" + export WANT_AUTOCONF="${auto_ver}" break fi done