diff options
author | 2024-07-28 16:24:28 +0200 | |
---|---|---|
committer | 2024-07-28 16:35:40 +0200 | |
commit | bf4b9fcbb4ce432731ac90fbbb3bcf73beb51820 (patch) | |
tree | 499fb12103433add952c191231d4561e0f7e6d7d | |
parent | Remove bad binutils symlinks in /usr/libexec/gcc/${HOST}/ (diff) | |
download | binutils-config-master.tar.gz binutils-config-master.tar.bz2 binutils-config-master.zip |
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rwxr-xr-x | src/binutils-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binutils-config b/src/binutils-config index 519f1f0..43d38e5 100755 --- a/src/binutils-config +++ b/src/binutils-config @@ -191,7 +191,7 @@ switch_profile() { # Some stages errorneously could not figure out CHOST and installed # symlinks into the path ${EROOT}/usr/libexec/gcc/${HOST}. These need # to go away. - if [[ -e "${EROOT}/usr/libexec/gcc/${HOST}/${x}" ]] ; then + if [[ -h "${EROOT}/usr/libexec/gcc/${HOST}/${x}" ]] ; then rm -f "${EROOT}/usr/libexec/gcc/${HOST}/${x}" bad_symlinks_removed="1" fi |