From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1F19D8E6C for ; Thu, 3 Dec 2015 15:01:07 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 03 Dec 2015 06:01:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,378,1444719600"; d="scan'208";a="611909679" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 03 Dec 2015 06:01:03 -0800 Received: from sivlogin002.ir.intel.com (sivlogin002.ir.intel.com [10.237.217.37]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id tB3E12Ae022463; Thu, 3 Dec 2015 14:01:02 GMT Received: from sivlogin002.ir.intel.com (localhost [127.0.0.1]) by sivlogin002.ir.intel.com with ESMTP id tB3E12Lv013720; Thu, 3 Dec 2015 14:01:02 GMT Received: (from fyigit@localhost) by sivlogin002.ir.intel.com with œ id tB3E12Pu013716; Thu, 3 Dec 2015 14:01:02 GMT X-Authentication-Warning: sivlogin002.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f Date: Thu, 3 Dec 2015 14:01:02 +0000 From: Ferruh Yigit To: Christian Ehrhardt , dev@dpdk.org Message-ID: <20151203140102.GA12729@sivlogin002.ir.intel.com> Mail-Followup-To: Christian Ehrhardt , dev@dpdk.org References: <1449105754-17136-1-git-send-email-ferruh.yigit@intel.com> <20151203111827.GA11634@sivlogin002.ir.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151203111827.GA11634@sivlogin002.ir.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: [dpdk-dev] [PATCH v2] mk: fix compile error and ABI versioning for combined shared library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 14:01:08 -0000 On Thu, Dec 03, 2015 at 11:18:27AM +0000, Ferruh Yigit wrote: > On Thu, Dec 03, 2015 at 09:18:49AM +0100, Christian Ehrhardt wrote: > > Hi Ferruh, > > some minor bash improvements that could be made in the next revision: > > > > On Thu, Dec 3, 2015 at 2:22 AM, Ferruh Yigit wrote: > > > diff --git a/scripts/merge_maps.sh b/scripts/merge_maps.sh > > > new file mode 100755 > > > index 0000000..bc40dc8 > > > --- /dev/null > > > +++ b/scripts/merge_maps.sh > > > @@ -0,0 +1,29 @@ > > > +#!/bin/sh > > > + > > > +FILES=$(find $RTE_SDK -name "*.map" | grep -v build) > > > +SYMBOLS=$(grep -h "{" $FILES | sort -u | sed 's/{//') > > > > Guarding $RTE_SDK and $FILES with "" will help avoid some potential > > issues due to words splitting. I quoted them (not $FILES which grep requires multiple params), but that will not actually help with folder names contains spaces, for that case script is broken. I fixed script using IFS and a few tricks but made script unnecessarly complex, so I revert back and leaving as it is unless required explicitly. And I suspect if folder name has spaces this script won't be only thing broken. Thanks, ferruh