summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-01-08 13:12:20 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-01-09 23:00:27 +0900
commit0ab053baea2558fd77e4affe2223a3fac8c7b12c (patch)
treeb9ed4bfc70aaba38f98f5199a821d15d67c082e1 /eclass/toolchain.eclass
parentsys-libs/db: Stable for HPPA (bug #599134). (diff)
downloadgentoo-0ab053baea2558fd77e4affe2223a3fac8c7b12c.tar.gz
gentoo-0ab053baea2558fd77e4affe2223a3fac8c7b12c.tar.bz2
gentoo-0ab053baea2558fd77e4affe2223a3fac8c7b12c.zip
toolchain.eclass: Call fix_libtool_files.sh by name
/usr/sbin is in PATH, avoid writing ${EPREFIX}/usr/sbin/fix_libtool_files.sh.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 55249b00249b..ef932d2557f2 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2107,10 +2107,10 @@ toolchain_pkg_postrm() {
do_gcc_config
einfo "Running 'fix_libtool_files.sh ${GCC_RELEASE_VER}'"
- /usr/sbin/fix_libtool_files.sh ${GCC_RELEASE_VER}
+ fix_libtool_files.sh ${GCC_RELEASE_VER}
if [[ -n ${BRANCH_UPDATE} ]] ; then
einfo "Running 'fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE}'"
- /usr/sbin/fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE}
+ fix_libtool_files.sh ${GCC_RELEASE_VER}-${BRANCH_UPDATE}
fi
fi