diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-25 22:26:21 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-25 22:29:12 +0100 |
commit | 760453f9f047e4e6c474e51c954cc415bc7418d6 (patch) | |
tree | 174a52e1efa2e3bed37fbbe50834844f4f4d073f /eclass | |
parent | app-editors/nano: Bump to version 4.4 (diff) | |
download | gentoo-760453f9f047e4e6c474e51c954cc415bc7418d6.tar.gz gentoo-760453f9f047e4e6c474e51c954cc415bc7418d6.tar.bz2 gentoo-760453f9f047e4e6c474e51c954cc415bc7418d6.zip |
toolchain.eclass: cleanup create_revdep_rebuild_entry()
From #gentoo-toolchain:
"""
<+[Arfrever]> It will cause that empty /etc/revdep-rebuild directory
will be installed by gcc. Please move dodir to after
'is_crosscompile || return 0'.
<+[Arfrever]> ${revdep_rebuild_file} should be quoted.
"""
Reported-by: Arfrever Frehtes Taifersar Arahesis
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 156ec3d0cf88..529c12a4116a 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2140,13 +2140,13 @@ create_gcc_env_entry() { } create_revdep_rebuild_entry() { - dodir /etc/revdep-rebuild local revdep_rebuild_base="/etc/revdep-rebuild/05cross-${CTARGET}-${GCC_CONFIG_VER}" local revdep_rebuild_file="${ED}${revdep_rebuild_base}" is_crosscompile || return 0 - cat <<-EOF > ${revdep_rebuild_file} + dodir /etc/revdep-rebuild + cat <<-EOF > "${revdep_rebuild_file}" # Generated by ${CATEGORY}/${PF} # Ignore libraries built for ${CTARGET}, https://bugs.gentoo.org/692844. SEARCH_DIRS_MASK="${LIBPATH}" |