Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
likwid: Fix the perms script (spack#48666)
* likwid: Fix the perms script The script loops over the path (which includes the prefix), but additionally adds the prefix up front which results in duplicate paths and a double "/" in the command like in the following one: chown root:root /opt/csg/spack/opt/spack/linux-debian12-zen2/gcc-12.2.0/likwid-5.4.1-xfc6quebnf2kosydl3ospaeoskxnxwhn//opt/csg/spack/opt/spack/linux-debian12-zen2/gcc-12.2.0/likwid-5.4.1-xfc6quebnf2kosydl3ospaeoskxnxwhn/sbin/likwid-accessD Additionally the path is currently not quoted which can potentially result in word splitting for weird paths. Signed-off-by: Christian Heusel <christian@heusel.eu> * likwid: Make the perm scripts' name unique Also move it into the proper binary folder as per the Filesystem Hierarchy Standard. Signed-off-by: Christian Heusel <christian@heusel.eu> --------- Signed-off-by: Christian Heusel <christian@heusel.eu>
- Loading branch information