This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223
Signed-off-by: Ulrich Müller <[email protected]> --- eclass/cuda.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index d885e77d0616..5f3f0c3af37d 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -28,12 +28,12 @@ inherit flag-o-matic toolchain-funcs # @DESCRIPTION: # nvcc compiler flags (see nvcc --help), which should be used like # CFLAGS for c compiler -: ${NVCCFLAGS:=-O2} +: "${NVCCFLAGS:=-O2}" # @ECLASS_VARIABLE: CUDA_VERBOSE # @DESCRIPTION: # Being verbose during compilation to see underlying commands -: ${CUDA_VERBOSE:=true} +: "${CUDA_VERBOSE:=true}" # @FUNCTION: cuda_gccdir # @USAGE: [-f] -- 2.40.0
