Skip to content
Snippets Groups Projects
Commit 2f324dd8 authored by Sumera Priyadarsini's avatar Sumera Priyadarsini Committed by Julia Lawall
Browse files

scripts: coccicheck: Add quotes to improve portability


While fetching the number of threads per core with lscpu,
the [:digit:] set is used for translation of digits from 0-9.
However, using [:digit:] instead of "[:digit:]" does not seem
to work uniformly for some shell types and configurations
(such as zsh).

Therefore, modify coccicheck to use double quotes around the
[:digit:] set for uniformity and better portability.

Signed-off-by: default avatarSumera Priyadarsini <sylphrenadin@gmail.com>
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
parent 28c185a8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment