diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-09-03 12:43:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-09-03 13:05:57 +0200 |
commit | 5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89 (patch) | |
tree | 71c2d07d85609e4375c1d95fa51e4518a2edd056 | |
parent | sys-libs/glibc: Do not reset multilib vars unless cross-compiling, #588368 (diff) | |
download | gentoo-5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89.tar.gz gentoo-5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89.tar.bz2 gentoo-5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89.zip |
sys-apps/baselayout: Fix SYMLINK_LIB=no to create lib dir instead of sym
Fix the 'else' branch of SYMLINK_LIB=no code to create 'lib' as
a directory rather than a symlink.
-rw-r--r-- | sys-apps/baselayout/baselayout-2.3.ebuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys-apps/baselayout/baselayout-2.3.ebuild b/sys-apps/baselayout/baselayout-2.3.ebuild index 5c4e7c1a66f4..b4e82d224cdd 100644 --- a/sys-apps/baselayout/baselayout-2.3.ebuild +++ b/sys-apps/baselayout/baselayout-2.3.ebuild @@ -106,9 +106,7 @@ multilib_layout() { else # nothing exists, so just set it up sanely ewarn "Initializing ${prefix}lib as a dir" - mkdir -p "${prefix}" || die - rm -f "${prefix}lib" || die - ln -s ${def_libdir} "${prefix}lib" || die + mkdir -p "${prefix}lib" || die fi fi done |