summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-08-13 23:36:20 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-08-13 23:36:20 +0100
commit39af3214ed29d9a3ca867988f7f2f3b995cafd66 (patch)
treef87b9ae0c317588eca0a07134557052c9818b529 /gcc-config
parentgcc-config: fix tests (drop einfo for LTO plugin) (diff)
downloadgcc-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-xgcc-config6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc-config b/gcc-config
index db173f3..521e3ba 100755
--- a/gcc-config
+++ b/gcc-config
@@ -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