Skip to content
Snippets Groups Projects
Commit 64d91943 authored by Michael Kuhn's avatar Michael Kuhn
Browse files

Support --dependencies for recursively loading modules.

parent fcfe2618
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ function spack { ...@@ -101,7 +101,7 @@ function spack {
_sp_subcommand_args="" _sp_subcommand_args=""
_sp_module_args="" _sp_module_args=""
while [[ "$1" =~ ^- ]]; do while [[ "$1" =~ ^- ]]; do
if [ "$1" = "-r" ]; then if [ "$1" = "-r" -o "$1" = "--dependencies" ]; then
_sp_subcommand_args="$_sp_subcommand_args $1" _sp_subcommand_args="$_sp_subcommand_args $1"
else else
_sp_module_args="$_sp_module_args $1" _sp_module_args="$_sp_module_args $1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment