diff --git a/lib/spack/spack/cmd/commands.py b/lib/spack/spack/cmd/commands.py index f9979339ed..c6e775dd43 100644 --- a/lib/spack/spack/cmd/commands.py +++ b/lib/spack/spack/cmd/commands.py @@ -11,7 +11,6 @@ from argparse import ArgumentParser, Namespace from typing import IO, Any, Callable, Dict, Iterable, List, Optional, Sequence, Set, Tuple, Union -import llnl.util.filesystem as fs import llnl.util.tty as tty from llnl.util.argparsewriter import ArgparseRstWriter, ArgparseWriter, Command from llnl.util.tty.colify import colify @@ -867,9 +866,6 @@ def _commands(parser: ArgumentParser, args: Namespace) -> None: prepend_header(args, f) formatter(args, f) - if args.update_completion: - fs.set_executable(args.update) - else: prepend_header(args, sys.stdout) formatter(args, sys.stdout) diff --git a/share/spack/setup-env.csh b/share/spack/setup-env.csh old mode 100755 new mode 100644 diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish old mode 100755 new mode 100644 diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh old mode 100755 new mode 100644 diff --git a/share/spack/setup-tutorial-env.sh b/share/spack/setup-tutorial-env.sh old mode 100755 new mode 100644 diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash old mode 100755 new mode 100644 diff --git a/share/spack/spack-completion.fish b/share/spack/spack-completion.fish old mode 100755 new mode 100644