[dpdk-dev] [PATCH] scripts: fix relpath.sh output when $prefix is set in environment

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Dec 11 14:04:01 CET 2015


2015-12-11 14:44, Panu Matilainen:
> When relpath.sh is called from install target with prefix set, eg
> "make install DESTDIR=/tmp/dpdk-root prefix=/usr", the prefix
> from the environment leaks to relpath.sh internal helper variable and
> causes incorrect symlinks to be generated in sdk $(targetdir):
> 
>    include -> /usr../../../include/dpdk
>    lib -> /usr../../../lib
> 
> Initialize the local variable to empty to avoid side-effects from
> environment.
> 
> Signed-off-by: Panu Matilainen <pmatilai at redhat.com>

Good catch!
Fixes: 6b62a72a70d0 ("mk: install a standard cutomizable tree")
Applied, thanks


More information about the dev mailing list