Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164460AbdDXDYk (ORCPT ); Sun, 23 Apr 2017 23:24:40 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35005 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164428AbdDXDY2 (ORCPT ); Sun, 23 Apr 2017 23:24:28 -0400 Date: Sun, 23 Apr 2017 20:24:11 -0700 From: Lance Roy To: "Paul E. McKenney" Cc: priyalee.kushwaha@intel.com, shuah@kernel.org, josh@joshtriplett.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Kushwaha@mx0a-001b2d01.pphosted.com Subject: Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Message-ID: <20170423202411.3fca5340@gmail.com> In-Reply-To: <20170421175042.GB3956@linux.vnet.ibm.com> References: <1ad554b0025913fedf4ec3c7953d1a42fe1f0dde.1492879165.git.priyalee.kushwaha@intel.com> <20170421175042.GB3956@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1413 Lines: 40 This is fine with me. I didn't notice that /bin/awk was just a symlink on the distro I was using when I wrote the script. Thanks, Lance On Fri, 21 Apr 2017 10:50:42 -0700 "Paul E. McKenney" wrote: > On Sat, Apr 22, 2017 at 10:17:11AM -0700, priyalee.kushwaha@intel.com wrote: > > From: Priyalee Kushwaha > > > > Most OS distribution have awk in /usr/bin not in /bin > > Without this patch, kernel-devsrc fails to build as > > runtime dependency for srcu-cbmc script /bin/awk is > > not found. > > Adding Lance on CC. > > Thanx, Paul > > > Signed-off-by: Kushwaha, Priyalee > > --- > > tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git > > a/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > > b/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk index > > 8ff8904..c9e8bc5 100755 --- > > a/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk +++ > > b/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk @@ > > -1,4 +1,4 @@ -#!/bin/awk -f +#!/usr/bin/awk -f > > > > # Modify SRCU for formal verification. The first argument should be srcu.h > > and # the second should be srcu.c. Outputs modified srcu.h and srcu.c into > > the -- > > 2.10.0 > > >