--- 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 = ''