[Intel-gfx] [maintainer-tools PATCH 25/30] qf: SC2035 - Fix another shellcheck complain
Rodrigo Vivi
rodrigo.vivi at intel.com
Mon Aug 21 20:11:15 UTC 2017
^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.
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 0bd6ebf1370d..dbda415d4dbc 100755
--- a/qf
+++ b/qf
@@ -135,7 +135,7 @@ function branch_init
echo Creating new quilt branch $quilt_branch
# big trickery to get an empty commit
git checkout -q --orphan $quilt_branch > /dev/null
- git rm -rf * > /dev/null
+ git rm -rf ./* > /dev/null
git ls-files | xargs git rm -rf > /dev/null
touch series
echo BASELINE=$baseline > config
--
2.13.2
More information about the Intel-gfx
mailing list