Panu Matilainen 08def3afcb scripts: fix relpath.sh output when $prefix is set in environment
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.

Fixes: 6b62a72a70d0 ("mk: install a standard cutomizable tree")

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2015-12-12 00:34:57 +01:00
..
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-04-13 22:50:09 +02:00