Signed-off-by: Luis R. Rodriguez <mcg...@kernel.org>
---
 scripts/coccicheck | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/coccicheck b/scripts/coccicheck
index ba7301ab0a3d..a4d91d649ad9 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -12,6 +12,8 @@
 
 DIR=$(dirname $(readlink -f $0))
 DIR="${DIR}/../"
+export PYTHONPATH=${DIR}/scripts/
+
 SPATCH="`which ${SPATCH:=spatch}`"
 
 if [ ! -x "$SPATCH" ]; then
-- 
2.8.2

_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to