[maintainer-tools PATCH 25/30] qf: SC2035 - Fix another shellcheck complain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.

Cc: Daniel Vetter <daniel.vetter@xxxxxxxx>
Cc: Jani Nikula <jani.nikula@xxxxxxxxx>
Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux