summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2019-06-24 12:24:08 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2019-06-24 12:24:08 +0000
commitb5b591677818a963a2f414936aab6fe0ca4fac15 (patch)
treebf4d459f172278d1e2f8a5cb3e6f68a9da43e79b /profiles
parent2019-06-24 12:04:37 UTC (diff)
parentprefix/winnt/profile.bashrc: first, check if usr/lib does exist (diff)
downloadgentoo-b5b591677818a963a2f414936aab6fe0ca4fac15.tar.gz
gentoo-b5b591677818a963a2f414936aab6fe0ca4fac15.tar.bz2
gentoo-b5b591677818a963a2f414936aab6fe0ca4fac15.zip
Merge updates from master
Diffstat (limited to 'profiles')
-rw-r--r--profiles/prefix/windows/winnt/profile.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/profiles/prefix/windows/winnt/profile.bashrc b/profiles/prefix/windows/winnt/profile.bashrc
index c0eaec08a6df..b8def6390deb 100644
--- a/profiles/prefix/windows/winnt/profile.bashrc
+++ b/profiles/prefix/windows/winnt/profile.bashrc
@@ -62,6 +62,7 @@ post_src_install() {
;;
esac
done
+ [[ -d usr/$(get_libdir) ]] &&
find usr/$(get_libdir) -maxdepth 1 -type f -name '*.dll' |
while read f
do
@@ -69,7 +70,7 @@ post_src_install() {
ebegin "moving ${f} to usr/bin for native loader"
dodir usr/bin || die
mv -f "${f}" usr/bin || die
- ln -sf "../bin/${f##*/}" "${f}"
+ ln -sf "../bin/${f##*/}" "${f}" || die
eend $?
fi
done