From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id D720C5A17 for ; Tue, 12 May 2015 14:26:49 +0200 (CEST) Received: by wicmc15 with SMTP id mc15so52756647wic.1 for ; Tue, 12 May 2015 05:26:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=OkbzYS/W8wqBNm4/hDv5T3/8gOvSKTA7N/yB3Ru3pWo=; b=L9LIAgq9EyKOZYzk+0dXrbn2hLMavjeoOfG7kch+aUsZ16hRvLlpTElZQaPCm621V/ w7PoqT6VCr/vDbU11OS4lhg1i/xS0vQAt/gEUneSH/Qp5iv2wy7fybaFSsCWKh4VGwaL SGgr0w5GYkIwlboNNDHj4U3Nd9qxp0ZJZgF5yN/1fN6T/s5Lgedv8L2UepjYjgDc8LZl SWMEheiTDoIwKU2NZPshpujBJxcJwfd329+4T48YmUTkN8nGiYlskM7zN9LauwzrpsaT +3TxPTV9Z4QSu4YSMWJBBcQUIFNo5LpCa11xVy1RZ+joX2f8m5ZkEK9aEOoD0Jv9JHeW QjCw== X-Gm-Message-State: ALoCoQlJ/bcz1AjyRoXAiRQNaSPky84LxlsvsMvER+SvvafhFwRmfH2Ouc/mASmDl+C8YRtCZP0Q X-Received: by 10.194.157.225 with SMTP id wp1mr29354431wjb.32.1431433609532; Tue, 12 May 2015 05:26:49 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id 14sm27530847wjv.0.2015.05.12.05.26.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 05:26:48 -0700 (PDT) From: Thomas Monjalon To: Olivier MATZ Date: Tue, 12 May 2015 14:26:07 +0200 Message-ID: <8836878.0IVNKqqCXa@xps13> Organization: 6WIND User-Agent: KMail/4.14.7 (Linux/4.0.1-1-ARCH; KDE/4.14.7; x86_64; ; ) In-Reply-To: <554889E6.6080509@netinsight.net> References: <55476C37.8050702@netinsight.net> <554886C8.4090408@6wind.com> <554889E6.6080509@netinsight.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] scripts: fix relpath.sh output when build dir is a symlink 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: Tue, 12 May 2015 12:26:50 -0000 2015-05-05 11:14, Simon K=E5gstr=F6m: > On 2015-05-05 11:00, Olivier MATZ wrote: > > On 05/05/2015 11:00 AM, Olivier Matz wrote: > >> The script relpath.sh return the relative path of the first direct= ory > >> from the second directory. It is used to generate relative symlink= s, > >> which can be useful if the build directory is embedded in the dpdk= > >> directory: the whole dpdk can be moved without breaking the links,= > >> which is helpful for an installation. > >> > >> In case the build directory is a symlink, the script was not gener= ating > >> the proper relative path. Fix this by calling "readlink -f" on the= > >> arguments. > >=20 > > Can you have a try with this patch? >=20 > Yes, this fixes my build issue, thanks! >=20 > Verified-by: Simon Kagstrom Applied, thanks