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

Olivier MATZ olivier.matz at 6wind.com
Tue May 5 11:00:56 CEST 2015


Hi Simon,

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.
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>

Can you have a try with this patch?

Regards,
Olivier




More information about the dev mailing list