[Intel-gfx] [maintainer-tools PATCH 26/30] qf: SC1091 - Fix another shellcheck complain

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


^-- SC1091: Not following: patches/config was not specified as input (see shellcheck -x).

It is expected this path doesn't exist yet.

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

diff --git a/qf b/qf
index dbda415d4dbc..059c8e5afe1d 100755
--- a/qf
+++ b/qf
@@ -84,6 +84,7 @@ function repo_check # allow-detached
 		cd ..
 	fi
 
+	# shellcheck source=/dev/null
 	baseline=$(source patches/config ; echo $BASELINE)
 
 	if [[ $(git rev-parse HEAD) != "$baseline" ]] ; then
@@ -231,6 +232,7 @@ function qf_checkout
 	cd ..
 	# error code 2 means no patches removed, which is ok
 	quiet_pop_all -f
+	# shellcheck source=/dev/null
 	baseline=$(source patches/config ; echo $BASELINE)
 	checkout_baseline
 	quilt push -a -q > /dev/null
-- 
2.13.2



More information about the Intel-gfx mailing list