X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fload-devel-config;h=69a0ac623a6eae05ced53d5f980d74792c42d856;hb=ea0dceba0fd7191442f2e768fc55cf08b59a5203;hp=4f43cb352386004df58c421cab18db66e65512bf;hpb=9a98f50e890b876fb6664bff36783f1afc273312;p=dpdk.git diff --git a/devtools/load-devel-config b/devtools/load-devel-config index 4f43cb3523..69a0ac623a 100644 --- a/devtools/load-devel-config +++ b/devtools/load-devel-config @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause + +# This file is intended to be sourced into shell + # Load DPDK devel config and allow override # from system file test ! -r /etc/dpdk/devel.config || @@ -6,7 +10,7 @@ test ! -r /etc/dpdk/devel.config || test ! -r ~/.config/dpdk/devel.config || . ~/.config/dpdk/devel.config # from local file -test ! -r $(dirname $(readlink -m $0))/../.develconfig || - . $(dirname $(readlink -m $0))/../.develconfig +test ! -r $(dirname $(readlink -f $0))/../.develconfig || + . $(dirname $(readlink -f $0))/../.develconfig # The config files must export variables in the shell style