scripts: fix run in any directory
The path to load-devel-config.sh must be relative to the script. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
f795c1e66e
commit
af6bc978ad
@ -33,7 +33,7 @@
|
||||
# Load config options:
|
||||
# - DPDK_CHECKPATCH_PATH
|
||||
# - DPDK_CHECKPATCH_LINE_LENGTH
|
||||
. scripts/load-devel-config.sh
|
||||
. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
|
||||
length=${DPDK_CHECKPATCH_LINE_LENGTH:-80}
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
# - DPDK_DEP_MOFED (y/[n])
|
||||
# - DPDK_DEP_PCAP (y/[n])
|
||||
# - DPDK_NOTIFY (notify-send)
|
||||
. scripts/load-devel-config.sh
|
||||
. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
|
||||
print_usage () {
|
||||
echo "usage: $(basename $0) [-h] [-jX] [-s] [config1 [config2] ...]]"
|
||||
|
Loading…
Reference in New Issue
Block a user