From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752573AbcFNWK3 (ORCPT ); Tue, 14 Jun 2016 18:10:29 -0400 Received: from mail.kernel.org ([198.145.29.136]:38278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954AbcFNWK1 (ORCPT ); Tue, 14 Jun 2016 18:10:27 -0400 From: "Luis R. Rodriguez" To: Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, mmarek@suse.com Cc: linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr, "Luis R. Rodriguez" Subject: [PATCH 3/4] coccicheck: enable use of the kernel's python library Date: Tue, 14 Jun 2016 15:10:16 -0700 Message-Id: <1465942217-14452-4-git-send-email-mcgrof@kernel.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1465942217-14452-1-git-send-email-mcgrof@kernel.org> References: <1465942217-14452-1-git-send-email-mcgrof@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Luis R. Rodriguez --- 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