From 8ce12d613a570710b9e1c7fa179b6d0cafd9de0f Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Sun, 31 Jan 2021 15:07:18 +0100 Subject: shellcheck: Fix SC2061 issue $ find . -name "*.sh" | xargs shellcheck -i SC2061 In ./roll-tarballs.sh line 159: find nx-X11/extras/Mesa/ -name Makefile.* | while read -r file; do rm "$file"; done ^--------^ SC2061: Quote the parameter to -name so the shell won't interpret it. For more information: https://www.shellcheck.net/wiki/SC2061 -- Quote the parameter to -name so t... Signed-off-by: Mario Trangoni --- roll-tarballs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roll-tarballs.sh') diff --git a/roll-tarballs.sh b/roll-tarballs.sh index 47b503a71..c9af13102 100755 --- a/roll-tarballs.sh +++ b/roll-tarballs.sh @@ -156,7 +156,7 @@ if [ "x$MODE" = "xfull" ]; then rm -f "nx-X11/extras/Mesa/src/mesa/main/"{mesa.def,Imakefile,vsnprintf.c} find nx-X11/extras/Mesa/ -name Makefile | while read -r file; do rm "$file"; done - find nx-X11/extras/Mesa/ -name Makefile.* | while read -r file; do rm "$file"; done + find nx-X11/extras/Mesa/ -name 'Makefile.*' | while read -r file; do rm "$file"; done find nx-X11/extras/Mesa/ -name descrip.mms | while read -r file; do rm "$file"; done # this is for 3.5.0.x only... -- cgit v1.2.3