summarylogtreecommitdiffstats
path: root/petsc4py_newuser.patch
diff options
context:
space:
mode:
Diffstat (limited to 'petsc4py_newuser.patch')
-rw-r--r--petsc4py_newuser.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/petsc4py_newuser.patch b/petsc4py_newuser.patch
new file mode 100644
index 000000000000..dca97e79a1d5
--- /dev/null
+++ b/petsc4py_newuser.patch
@@ -0,0 +1,11 @@
+--- a/petsc/config/BuildSystem/config/packages/petsc4py.py 2021-09-17 23:23:54.438918631 -0500
++++ b/petsc/config/BuildSystem/config/packages/petsc4py.py 2021-09-17 23:19:50.395572374 -0500
+@@ -58,7 +58,7 @@
+
+ # if installing as Superuser than want to return to regular user for clean and build
+ if self.installSudo:
+- newuser = self.installSudo+' -u $${SUDO_USER} '
++ newuser = ''
+ else:
+ newuser = ''
+