aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-09-06 07:51:19 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-09-06 07:53:10 +0100
commit33f5f6f18e39a49e398fc81c1b7251d50e6cb9b0 (patch)
treec34420b13ca613bd4f17ad5e27facc12e5f27c34
parentgcc-config: Use findmnt for mountpoint check when available. (diff)
downloadgcc-config-33f5f6f1.tar.gz
gcc-config-33f5f6f1.tar.bz2
gcc-config-33f5f6f1.zip
gcc-config: linewrap long comment
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xgcc-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index 169f8bc..99489f9 100755
--- a/gcc-config
+++ b/gcc-config
@@ -311,7 +311,8 @@ handle_split_usr() {
eval $(grep -h '^LDPATH=' "${GCC_ENV_D}"/${CHOST}-* | tail -1)
LDPATH=${LDPATH%%:*}
- # If GCC directory is not in separate mountpoint than /lib, then do not bother with copying libraries to /lib.
+ # If GCC directory is not in separate mountpoint than /lib,
+ # then do not bother with copying libraries to /lib.
if is_same_mountpoint "${EROOT}/lib" "${ROOT}/${LDPATH}" ; then
local lib old_libs=0 saved_nullglob=$(shopt -p nullglob)
shopt -s nullglob