diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2021-09-16 18:25:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 16:25:49 +0000 |
commit | 2d34acf29e83e5898ae754e9c2abe3d6722d1685 (patch) | |
tree | c73304c8600e13d2d89ca640a1a74d00f6a2e72b /bin | |
parent | d73fe19d931f22307e5118b3f788304665de2db1 (diff) | |
download | spack-2d34acf29e83e5898ae754e9c2abe3d6722d1685.tar.gz spack-2d34acf29e83e5898ae754e9c2abe3d6722d1685.tar.bz2 spack-2d34acf29e83e5898ae754e9c2abe3d6722d1685.tar.xz spack-2d34acf29e83e5898ae754e9c2abe3d6722d1685.zip |
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.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions