diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2016-07-14 20:14:06 +0200 |
---|---|---|
committer | Michael Kuhn <suraia@ikkoku.de> | 2016-07-14 20:14:06 +0200 |
commit | 64d91943ec3773a539ef39be4e9ab5ab132df01a (patch) | |
tree | 474c7b6a7d96b2acd258acba877b5dd28180dbe8 /share/spack | |
parent | fcfe2618d50b39e8991685dc2f42f1495951da7e (diff) | |
download | spack-64d91943ec3773a539ef39be4e9ab5ab132df01a.tar.gz spack-64d91943ec3773a539ef39be4e9ab5ab132df01a.tar.bz2 spack-64d91943ec3773a539ef39be4e9ab5ab132df01a.tar.xz spack-64d91943ec3773a539ef39be4e9ab5ab132df01a.zip |
Support --dependencies for recursively loading modules.
Diffstat (limited to 'share/spack')
-rwxr-xr-x | share/spack/setup-env.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh index c5245add5e..19206255db 100755 --- a/share/spack/setup-env.sh +++ b/share/spack/setup-env.sh @@ -101,7 +101,7 @@ function spack { _sp_subcommand_args="" _sp_module_args="" while [[ "$1" =~ ^- ]]; do - if [ "$1" = "-r" ]; then + if [ "$1" = "-r" -o "$1" = "--dependencies" ]; then _sp_subcommand_args="$_sp_subcommand_args $1" else _sp_module_args="$_sp_module_args $1" |