[dpdk-dev] [PATCH] scripts: fix relpath.sh output when build dir is a symlink

Thomas Monjalon thomas.monjalon at 6wind.com
Tue May 12 14:26:07 CEST 2015


2015-05-05 11:14, Simon Kågström:
> 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.kagstrom at netinsight.net>

Applied, thanks


More information about the dev mailing list