commit:     126d6a3c13bbc373a10cff4aa8f2a37d9e5c7f9e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 23:03:24 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 00:19:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126d6a3c

app-shells/pwsh: fix Gentoo-managed PSModulePath

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-shells/pwsh/{pwsh-7.3.6.ebuild => pwsh-7.3.6-r1.ebuild} | 2 +-
 app-shells/pwsh/{pwsh-7.3.7.ebuild => pwsh-7.3.7-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-shells/pwsh/pwsh-7.3.6.ebuild 
b/app-shells/pwsh/pwsh-7.3.6-r1.ebuild
similarity index 99%
rename from app-shells/pwsh/pwsh-7.3.6.ebuild
rename to app-shells/pwsh/pwsh-7.3.6-r1.ebuild
index 63c8e6a97917..7c6152bab8b0 100644
--- a/app-shells/pwsh/pwsh-7.3.6.ebuild
+++ b/app-shells/pwsh/pwsh-7.3.6-r1.ebuild
@@ -373,7 +373,7 @@ src_install() {
        done
 
        dotnet-pkg-base_append_launchervar \
-               
'PSModulePath="${PSModulePath}:/usr/share/GentooPowerShell/Modules:"'
+               
'PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"'
        dotnet-pkg-base_install "${dest_root}"
        dotnet-pkg-base_dolauncher "${dest_root}/pwsh" "pwsh-${SLOT}"
 

diff --git a/app-shells/pwsh/pwsh-7.3.7.ebuild 
b/app-shells/pwsh/pwsh-7.3.7-r1.ebuild
similarity index 99%
rename from app-shells/pwsh/pwsh-7.3.7.ebuild
rename to app-shells/pwsh/pwsh-7.3.7-r1.ebuild
index 8c984c6607e2..4997a8dcc5e5 100644
--- a/app-shells/pwsh/pwsh-7.3.7.ebuild
+++ b/app-shells/pwsh/pwsh-7.3.7-r1.ebuild
@@ -378,7 +378,7 @@ src_install() {
        done
 
        dotnet-pkg-base_append_launchervar \
-               
'PSModulePath="${PSModulePath}:/usr/share/GentooPowerShell/Modules:"'
+               
'PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"'
        dotnet-pkg-base_install "${dest_root}"
        dotnet-pkg-base_dolauncher "${dest_root}/pwsh" "pwsh-${SLOT}"
 

Reply via email to