From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] scripts: fix relpath.sh output when build dir is a symlink Date: Tue, 12 May 2015 14:26:07 +0200 Message-ID: <8836878.0IVNKqqCXa@xps13> References: <55476C37.8050702@netinsight.net> <554886C8.4090408@6wind.com> <554889E6.6080509@netinsight.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Olivier MATZ 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) In-Reply-To: <554889E6.6080509@netinsight.net> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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