From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?windows-1252?Q?Simon_K=E5gstr=F6m?= Subject: Re: [PATCH] scripts: fix relpath.sh output when build dir is a symlink Date: Tue, 05 May 2015 11:14:14 +0200 Message-ID: <554889E6.6080509@netinsight.net> References: <55476C37.8050702@netinsight.net> <1430816409-6773-1-git-send-email-olivier.matz@6wind.com> <554886C8.4090408@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Olivier MATZ , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <554886C8.4090408-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 directory >> from the second directory. It is used to generate relative symlinks, >> 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 generating >> the proper relative path. Fix this by calling "readlink -f" on the >> arguments. > > Can you have a try with this patch? Yes, this fixes my build issue, thanks! Verified-by: Simon Kagstrom // Simon