diff options
author | Gergely Nagy <ngg@ngg.hu> | 2020-03-17 00:21:03 +0100 |
---|---|---|
committer | Mikhail Pukhlikov <cynede@gentoo.org> | 2020-06-08 14:04:24 +0400 |
commit | 9e26a3f5b5eb5343cb44eedad88cf833e2a68325 (patch) | |
tree | 64901e3c6f59b7a01b75b507f670067823b425aa | |
parent | dev-util/fsharpbinding: Fix git eclass inherit and deprecated emacs dep (diff) | |
download | dotnet-9e26a3f5b5eb5343cb44eedad88cf833e2a68325.tar.gz dotnet-9e26a3f5b5eb5343cb44eedad88cf833e2a68325.tar.bz2 dotnet-9e26a3f5b5eb5343cb44eedad88cf833e2a68325.zip |
dotnetcore-sdk-bin-common: set DOTNET_ROOT envvar in older versions as well
Signed-off-by: Mikhail Pukhlikov <cynede@gentoo.org>
3 files changed, 12 insertions, 0 deletions
diff --git a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.1.804.ebuild b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.1.804.ebuild index 535579f..7a52c00 100644 --- a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.1.804.ebuild +++ b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.1.804.ebuild @@ -50,4 +50,8 @@ src_install() { local ddest="${D}/${dest}" cp -a "${S}"/* "${ddest}/" || die dosym "/${dest}/dotnet" "/usr/bin/dotnet" + + # set an env-variable for 3rd party tools + echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet" + doenvd "${T}/90dotnet" } diff --git a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild index 173dfe8..d90541c 100644 --- a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild +++ b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild @@ -50,4 +50,8 @@ src_install() { local ddest="${D}/${dest}" cp -a "${S}"/* "${ddest}/" || die dosym "/${dest}/dotnet" "/usr/bin/dotnet" + + # set an env-variable for 3rd party tools + echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet" + doenvd "${T}/90dotnet" } diff --git a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild index be5d127..ca66ea3 100644 --- a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild +++ b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild @@ -52,4 +52,8 @@ src_install() { local ddest="${D}/${dest}" cp -a "${S}"/* "${ddest}/" || die dosym "/${dest}/dotnet" "/usr/bin/dotnet" + + # set an env-variable for 3rd party tools + echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet" + doenvd "${T}/90dotnet" } |