[Intel-gfx] [maintainer-tools PATCH 22/30] qf: SC2068 - Fix another shellcheck complain.

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Aug 21 20:11:12 UTC 2017


^-- SC2068: Double quote array expansions to avoid re-splitting elements.

Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 qf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qf b/qf
index 30feec1b75e1..48dfe20b1693 100755
--- a/qf
+++ b/qf
@@ -59,7 +59,7 @@ function cd_toplevel
 function quiet_pop_all
 {
 	echo Popping patches ...
-	quilt pop -a -q $@ > /dev/null || test $? = 2
+	quilt pop -a -q "$@" > /dev/null || test $? = 2
 }
 
 function repo_check # allow-detached
-- 
2.13.2



More information about the Intel-gfx mailing list