Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/baselayout/
Date: Sat, 03 Sep 2016 11:06:12
Message-Id: 1472900757.5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89.mgorny@gentoo
1 commit: 5a5c86a41bc4e4ae8e367dd4407116f44d8d6e89
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 3 10:43:27 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 3 11:05:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a5c86a4
7
8 sys-apps/baselayout: Fix SYMLINK_LIB=no to create lib dir instead of sym
9
10 Fix the 'else' branch of SYMLINK_LIB=no code to create 'lib' as
11 a directory rather than a symlink.
12
13 sys-apps/baselayout/baselayout-2.3.ebuild | 4 +---
14 1 file changed, 1 insertion(+), 3 deletions(-)
15
16 diff --git a/sys-apps/baselayout/baselayout-2.3.ebuild b/sys-apps/baselayout/baselayout-2.3.ebuild
17 index 5c4e7c1..b4e82d2 100644
18 --- a/sys-apps/baselayout/baselayout-2.3.ebuild
19 +++ b/sys-apps/baselayout/baselayout-2.3.ebuild
20 @@ -106,9 +106,7 @@ multilib_layout() {
21 else
22 # nothing exists, so just set it up sanely
23 ewarn "Initializing ${prefix}lib as a dir"
24 - mkdir -p "${prefix}" || die
25 - rm -f "${prefix}lib" || die
26 - ln -s ${def_libdir} "${prefix}lib" || die
27 + mkdir -p "${prefix}lib" || die
28 fi
29 fi
30 done