sys-apps/baselayout: Fix SYMLINK_LIB=no to create lib dir instead of sym
authorMichał Górny <mgorny@gentoo.org>
Sat, 3 Sep 2016 10:43:27 +0000 (12:43 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 3 Sep 2016 11:05:57 +0000 (13:05 +0200)
Fix the 'else' branch of SYMLINK_LIB=no code to create 'lib' as
a directory rather than a symlink.

sys-apps/baselayout/baselayout-2.3.ebuild

index 5c4e7c1a66f4a6f2aaabaedde4a630f0747e9904..b4e82d224cdd283c8a53ac68362a4c5e128ce44f 100644 (file)
@@ -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