Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1422754

Re: [PATCH 3/4] coccicheck: enable use of the kernel's python library

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Michal Marek <mmarek@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] coccicheck: enable use of the kernel's python library
Date Wed, 15 Jun 2016 10:00:02 +0200
Message-ID <rKdTY-88q-13@gated-at.bofh.it> (permalink)
References <rK4QF-2oZ-11@gated-at.bofh.it> <rK4QG-2oZ-21@gated-at.bofh.it>
X-Original-To "Luis R. Rodriguez" <mcgrof@kernel.org>, Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr
X-Original-Date Wed, 15 Jun 2016 09:51:31 +0200
X-Original-Message-ID <57610903.9040706@suse.com>
X-Original-References <1465942217-14452-1-git-send-email-mcgrof@kernel.org> <1465942217-14452-4-git-send-email-mcgrof@kernel.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1422754

Show key headers only | View raw


On 2016-06-15 00:10, Luis R. Rodriguez wrote:
> Signed-off-by: Luis R. Rodriguez <mcgrof@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/

The first assignment to DIR already sets the desired path.

Michal

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/4] coccicheck: enable use of the kernel's python library "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-06-15 00:20 +0200
  Re: [PATCH 3/4] coccicheck: enable use of the kernel's python library Michal Marek <mmarek@suse.com> - 2016-06-15 10:00 +0200
    Re: [PATCH 3/4] coccicheck: enable use of the kernel's python library "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-06-15 17:50 +0200

csiph-web