commit: 8cd0c018d26ed6c61ee499b8673ef19266be1aa9
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 6 07:28:18 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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 <slyfox <AT> 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