summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-09-03 12:43:27 +0200
committerMichał Górny <mgorny@gentoo.org>2016-09-03 13:05:57 +0200
commit5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89 (patch)
tree71c2d07d85609e4375c1d95fa51e4518a2edd056 /sys-apps/baselayout
parentsys-libs/glibc: Do not reset multilib vars unless cross-compiling, #588368 (diff)
downloadgentoo-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.
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-2.3.ebuild4
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 5c4e7c1a66f..b4e82d224cd 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