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 79767159C9B for ; Fri, 9 Aug 2024 10:02:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 907502BC0A0; Fri, 9 Aug 2024 10:02:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 758072BC0A0 for ; Fri, 9 Aug 2024 10:02:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75CF2343084 for ; Fri, 9 Aug 2024 10:02:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D80731E9C for ; Fri, 9 Aug 2024 10:02:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1723197764.101ddccc4fad47ac8bef08ff3e30cc81727f477b.sam@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: man/ X-VCS-Repository: proj/pax-utils X-VCS-Files: man/meson.build X-VCS-Directories: man/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 101ddccc4fad47ac8bef08ff3e30cc81727f477b X-VCS-Branch: master Date: Fri, 9 Aug 2024 10:02:46 +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: 2a15e6d0-5011-4ab5-b371-b7c1e616c783 X-Archives-Hash: 2452c8eafdc002512d06464122f34541 commit: 101ddccc4fad47ac8bef08ff3e30cc81727f477b Author: Mathias Krause grsecurity net> AuthorDate: Tue Jul 30 21:30:25 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 9 10:02:44 2024 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=101ddccc meson: avoid using replace() to not unnecessarily bump meson >= 0.58.0 Debian bullseye ships with meson 0.56.2 which is too old to understand replace(). Work around that with split() and string concatenation. Signed-off-by: Mathias Krause grsecurity.net> Closes: https://github.com/gentoo/pax-utils/pull/16 Signed-off-by: Sam James gentoo.org> man/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/meson.build b/man/meson.build index 09ac0d5..c6982d2 100644 --- a/man/meson.build +++ b/man/meson.build @@ -19,7 +19,7 @@ fs = import('fs') out_pages = [] generated_man_pages_exist = true foreach page : pages - man_page_name = page.replace('.docbook', '.1') + man_page_name = page.split('.')[0] + '.1' out_pages += man_page_name if not fs.exists(man_page_name) generated_man_pages_exist = false