summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/cmd/ci.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/ci.py b/lib/spack/spack/cmd/ci.py
index 4944f61b2a..3087a7881e 100644
--- a/lib/spack/spack/cmd/ci.py
+++ b/lib/spack/spack/cmd/ci.py
@@ -521,10 +521,9 @@ def ci_rebuild(args):
install_copy_path = os.path.join(repro_dir, "install.sh")
shutil.copyfile("install.sh", install_copy_path)
- # Run the generated install.sh shell script as if it were being run in
- # a login shell.
+ # Run the generated install.sh shell script
try:
- install_process = subprocess.Popen(["bash", "-l", "./install.sh"])
+ install_process = subprocess.Popen(["bash", "./install.sh"])
install_process.wait()
install_exit_code = install_process.returncode
except (ValueError, subprocess.CalledProcessError, OSError) as inst: