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

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

 



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

_______________________________________________
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