Imported Upstream version 16.04
[deb_dpdk.git] / scripts / load-devel-config.sh
1 #! /bin/echo must be loaded with .
2
3 # Load DPDK devel config and allow override
4 # from system file
5 test ! -r /etc/dpdk/devel.config ||
6         . /etc/dpdk/devel.config
7 # from user file
8 test ! -r ~/.config/dpdk/devel.config ||
9         . ~/.config/dpdk/devel.config
10 # from local file
11 test ! -r $(dirname $(readlink -m $0))/../.develconfig ||
12         . $(dirname $(readlink -m $0))/../.develconfig
13
14 # The config files must export variables in the shell style