diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spack | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -59,6 +59,8 @@ if 'ruamel.yaml' in sys.modules: if 'ruamel' in sys.modules: del sys.modules['ruamel'] -# Once we've set up the system path, run the spack main method import spack.main # noqa -sys.exit(spack.main.main()) + +# Once we've set up the system path, run the spack main method +if __name__ == "__main__": + sys.exit(spack.main.main()) |