From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15E9015827B for ; Tue, 12 Aug 2025 05:06:10 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D8A04340EC3 for ; Tue, 12 Aug 2025 05:06:09 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0DCD311055F; Tue, 12 Aug 2025 05:06:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0391511055F for ; Tue, 12 Aug 2025 05:06:06 +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 7A642340D77 for ; Tue, 12 Aug 2025 05:06:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93F0432D6 for ; Tue, 12 Aug 2025 05:06:04 +0000 (UTC) From: "Kerin Millar" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kerin Millar" Message-ID: <1754973391.4460bb48e69c8f6fb8a354f45f556ba50f83eab7.kfm@gentoo> Subject: [gentoo-commits] proj/locale-gen:master commit in: / X-VCS-Repository: proj/locale-gen X-VCS-Files: locale-gen X-VCS-Directories: / X-VCS-Committer: kfm X-VCS-Committer-Name: Kerin Millar X-VCS-Revision: 4460bb48e69c8f6fb8a354f45f556ba50f83eab7 X-VCS-Branch: master Date: Tue, 12 Aug 2025 05:06:04 +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: 27aeae23-60a4-46f1-a7fd-5e08c65d8d81 X-Archives-Hash: 39c9ce04bfcd3bba894bd5e9f97971de commit: 4460bb48e69c8f6fb8a354f45f556ba50f83eab7 Author: Kerin Millar plushkava net> AuthorDate: Tue Aug 12 04:30:34 2025 +0000 Commit: Kerin Millar plushkava net> CommitDate: Tue Aug 12 04:36:31 2025 +0000 URL: https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=4460bb48 Refrain from unsetting the CDPATH environment variable The cd builtin of sh(1) is no longer used. See-also: a009d7c7ab382065555d60250752f11ef40c1c1c Signed-off-by: Kerin Millar plushkava.net> locale-gen | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/locale-gen b/locale-gen index bc3ef6f..baa520f 100755 --- a/locale-gen +++ b/locale-gen @@ -36,9 +36,8 @@ if (setlocale(LC_ALL) eq 'C') { delete @ENV{ grep +( m/^(LANG\z|LC_)/ ), keys %ENV }; } -# Unset BASH_ENV for security reasons. Even as sh(1), bash acts upon it. Unset -# CDPATH also, for it is nothing but a liability in a non-interactive context. -delete @ENV{'BASH_ENV', 'CDPATH'}; +# Unset BASH_ENV for security reasons. Even as sh(1), bash acts upon it. +delete $ENV{'BASH_ENV'}; # Protect against the inheritance of an unduly restrictive umask. umask 0022;