From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933147AbcFOPnR (ORCPT ); Wed, 15 Jun 2016 11:43:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:39664 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932698AbcFOPnQ (ORCPT ); Wed, 15 Jun 2016 11:43:16 -0400 Date: Wed, 15 Jun 2016 17:43:14 +0200 From: "Luis R. Rodriguez" To: Michal Marek Cc: "Luis R. Rodriguez" , Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr Subject: Re: [PATCH 3/4] coccicheck: enable use of the kernel's python library Message-ID: <20160615154314.GL11948@wotan.suse.de> References: <1465942217-14452-1-git-send-email-mcgrof@kernel.org> <1465942217-14452-4-git-send-email-mcgrof@kernel.org> <57610903.9040706@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57610903.9040706@suse.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 15, 2016 at 09:51:31AM +0200, Michal Marek wrote: > On 2016-06-15 00:10, Luis R. Rodriguez wrote: > > 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/ > > The first assignment to DIR already sets the desired path. Ah yes, thanks. Fixed. Luis