commit: ca25e8c059e8b5617df4c480d94ea2b57b848ddc
parent: 3ed213eb8531521dd6851fb18b2ebd6ad321fe25
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 25 Jul 2019 17:26:59 +0200
mix.eclass: Resolve symlinks before installing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/mix.eclass b/eclass/mix.eclass
@@ -85,7 +85,7 @@ mix_src_install() {
insinto "/usr/$(get_libdir)/erlang/lib/${P}"
pushd "_build/${MIX_BUILD_NAME}/lib/${PN}" >/dev/null
for reldir in src ebin priv include; do
- [ -d "$reldir" ] && doins -r $reldir
+ [ -d "$reldir" ] && newins -r "$(realpath ${reldir})" "$reldir"
done
popd >/dev/null
}