diff options
author | 2018-08-13 23:36:20 +0100 | |
---|---|---|
committer | 2018-08-13 23:36:20 +0100 | |
commit | 39af3214ed29d9a3ca867988f7f2f3b995cafd66 (patch) | |
tree | f87b9ae0c317588eca0a07134557052c9818b529 /gcc-config | |
parent | gcc-config: fix tests (drop einfo for LTO plugin) (diff) | |
download | gcc-config-39af3214ed29d9a3ca867988f7f2f3b995cafd66.tar.gz gcc-config-39af3214ed29d9a3ca867988f7f2f3b995cafd66.tar.bz2 gcc-config-39af3214ed29d9a3ca867988f7f2f3b995cafd66.zip |
rename installed binary wrapper from 'gcc-config' to 'wrapper'
Before the change installed directory was:
/usr/$(libexecdir)/misc/gcc-config
/usr/bin/gcc-config
After the change:
/usr/$(libexecdir)/gcc-config/wrapper
/usr/bin/gcc-config
Should decrease confusion between a script and wrapper binary.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'gcc-config')
-rwxr-xr-x | gcc-config | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -198,9 +198,9 @@ update_wrappers() { local x CTARGET=$1 # Find the bin wrapper - local wrapper - for wrapper in ${GENTOO_LIBDIR} lib lib64 lib32 lib ; do - wrapper="${EROOT}usr/${wrapper}/misc/gcc-config" + local libdir wrapper + for libdir in ${GENTOO_LIBDIR} lib lib64 lib32 lib ; do + wrapper="${EROOT}usr/${libdir}/gcc-config/wrapper" [[ -e ${wrapper} ]] && break done |