diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-01-24 23:56:50 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-01-24 23:56:50 +0100 |
commit | c6dce91299dc71c90f302e2d25828f7b2dfff477 (patch) | |
tree | 145228d88fda35bc632ab1cec3169abda3f65d40 /sys-apps/baselayout/baselayout-9999.ebuild | |
parent | app-text/poppler: drop 22.11.0-r1, 22.12.0-r1 (diff) | |
download | gentoo-c6dce91299dc71c90f302e2d25828f7b2dfff477.tar.gz gentoo-c6dce91299dc71c90f302e2d25828f7b2dfff477.tar.bz2 gentoo-c6dce91299dc71c90f302e2d25828f7b2dfff477.zip |
sys-apps/baselayout: Fix merged-usr riscv case
Closes: https://bugs.gentoo.org/796893
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-apps/baselayout/baselayout-9999.ebuild')
-rw-r--r-- | sys-apps/baselayout/baselayout-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild index 35af87850d7c..a5cb994667ce 100644 --- a/sys-apps/baselayout/baselayout-9999.ebuild +++ b/sys-apps/baselayout/baselayout-9999.ebuild @@ -82,7 +82,7 @@ multilib_layout() { die "Unable to create ${dir} directory" fi done - riscv_compat_symlink "${def_libdir}" "${prefix}${def_libdir}/${DEFAULT_ABI}" + [[ -d "${prefix}${def_libdir}" ]] && riscv_compat_symlink "${def_libdir}" "${prefix}${def_libdir}/${DEFAULT_ABI}" done return 0 fi |