From patchwork Wed Feb 17 13:05:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 79883 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1HD5Ekl030661 for ; Wed, 17 Feb 2010 13:05:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757306Ab0BQNFN (ORCPT ); Wed, 17 Feb 2010 08:05:13 -0500 Received: from cantor.suse.de ([195.135.220.2]:34746 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751215Ab0BQNFM (ORCPT ); Wed, 17 Feb 2010 08:05:12 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 896AA6CB00; Wed, 17 Feb 2010 14:05:09 +0100 (CET) Message-ID: <4B7BE984.60107@suse.cz> Date: Wed, 17 Feb 2010 14:05:08 +0100 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.2 Thunderbird/3.0 MIME-Version: 1.0 To: Guennadi Liakhovetski Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH v2] tags: include headers before source files References: <4B6C94AC.7000301@suse.cz> In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 17 Feb 2010 13:05:16 +0000 (UTC) diff --git a/scripts/tags.sh b/scripts/tags.sh index 6f0985d..c122041 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -33,7 +33,7 @@ fi find_arch_sources() { for i in $archincludedir; do - prune+="-wholename $i -prune -o " + prune="$prune -wholename $i -prune -o" done find ${tree}arch/$1 $ignore $prune -name "$2" -print; } @@ -43,7 +43,7 @@ find_arch_include_sources() { include=$(find ${tree}arch/$1/ -name include -type d); if [ -n "$include" ]; then - archincludedir+="$include " + archincludedir="$archincludedir $include" find $include $ignore -name "$2" -print; fi }