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 9985F138334 for ; Fri, 6 Sep 2019 07:29:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7DF7E0819; Fri, 6 Sep 2019 07:29:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C137AE0819 for ; Fri, 6 Sep 2019 07:29:26 +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 B69BD34AD1F for ; Fri, 6 Sep 2019 07:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA3A76FE for ; Fri, 6 Sep 2019 07:29:23 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1567754898.8cd0c018d26ed6c61ee499b8673ef19266be1aa9.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: gcc-config X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8cd0c018d26ed6c61ee499b8673ef19266be1aa9 X-VCS-Branch: master Date: Fri, 6 Sep 2019 07:29:23 +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: 64a67706-eb3e-4ed4-b811-1b6e20b4418a X-Archives-Hash: 2ea4cd9ba995af1f22f98c6734557f96 commit: 8cd0c018d26ed6c61ee499b8673ef19266be1aa9 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Sep 6 07:28:18 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Sep 6 07:28:18 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=8cd0c018 gcc-config: drop /etc/env.d/gcc/config migration code /etc/env.d/gcc/config migraion was enabled 7 years ago. Let's assume everyone migrated by now. Signed-off-by: Sergei Trofimovich gentoo.org> gcc-config | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gcc-config b/gcc-config index 99489f9..21d54c1 100755 --- a/gcc-config +++ b/gcc-config @@ -1017,20 +1017,6 @@ get_chost && : ${CTARGET:=${CC_COMP:-${CHOST}}} \ || : ${CTARGET:=${CHOST}} -# Do migration of old files -if [[ -e ${GCC_ENV_D}/config ]] ; then - ( - unset CURRENT - . "${GCC_ENV_D}"/config - if [[ ${CURRENT} == ${CTARGET}-* ]] ; then - mv "${GCC_ENV_D}"/config "${GCC_ENV_D}"/config-${CTARGET} || exit 1 - else - # who knows; force a refresh by punting it - rm -f "${GCC_ENV_D}"/config || exit 1 - fi - ) || die "could not get rid of old ${GCC_ENV_D}/config" -fi - if [[ -z ${CC_COMP} ]] ; then CC_COMP=$(get_current_profile) if [[ $? -ne 0 ]] ; then