Support --dependencies for recursively loading modules.
This commit is contained in:
parent
fcfe2618d5
commit
64d91943ec
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user