aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/python.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/python.go')
-rw-r--r--internal/rosa/python.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index 8b363d87..11174030 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -69,7 +69,7 @@ func (attr *PipHelper) script(t Toolchain, name string) string {
if attr.Install {
script += `pip3 install \
--no-index \
- --prefix=/system \
+ --prefix=` + Prefix + ` \
--no-build-isolation \
'` + sourcePath.String() + `'
`
@@ -90,7 +90,7 @@ func (attr *PipHelper) script(t Toolchain, name string) string {
return `
pip3 install \
--no-index \
- --prefix=/system \
+ --prefix=` + Prefix + ` \
--root=/work \` + extra + `
'` + sourcePath.String() + `'
` + script