spack/lib
Michael Kuhn 2d34acf29e
cc: Use parameter expansion instead of basename (#24509)
While debugging #24508, I noticed that we call `basename` in `cc`. The
same can be achieved by using Bash's parameter expansion, saving one
external process per call.

Parameter expansion cannot replace basename for directories in some
cases, but is guaranteed to work for executables.
2021-09-16 16:25:49 +00:00
..
spack cc: Use parameter expansion instead of basename (#24509) 2021-09-16 16:25:49 +00:00