diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-09-06 08:28:18 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-09-06 08:28:18 +0100 |
commit | 8cd0c018d26ed6c61ee499b8673ef19266be1aa9 (patch) | |
tree | ef5a16ea574741ec1932fb68f4f89aa03708ae85 | |
parent | README: clarify status of /etc/env.d/gcc/.NATIVE (diff) | |
download | gcc-config-8cd0c018d26ed6c61ee499b8673ef19266be1aa9.tar.gz gcc-config-8cd0c018d26ed6c61ee499b8673ef19266be1aa9.tar.bz2 gcc-config-8cd0c018d26ed6c61ee499b8673ef19266be1aa9.zip |
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@gentoo.org>
-rwxr-xr-x | gcc-config | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 |