scripts: convert devel config helper as simple file
Quoting the first line of the script: "#! /bin/echo must be loaded with ." Given that we should drop the .sh file ending as well as the executable flag - both are not needed to source the file. Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:
parent
487a4f9095
commit
cc0ee4d537
@ -27,7 +27,7 @@ F: MAINTAINERS
|
||||
F: scripts/check-maintainers.sh
|
||||
F: scripts/check-git-log.sh
|
||||
F: scripts/checkpatches.sh
|
||||
F: scripts/load-devel-config.sh
|
||||
F: scripts/load-devel-config
|
||||
F: scripts/test-build.sh
|
||||
|
||||
Stable Branches
|
||||
|
@ -33,7 +33,7 @@
|
||||
# Load config options:
|
||||
# - DPDK_CHECKPATCH_PATH
|
||||
# - DPDK_CHECKPATCH_LINE_LENGTH
|
||||
. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
. $(dirname $(readlink -e $0))/load-devel-config
|
||||
|
||||
length=${DPDK_CHECKPATCH_LINE_LENGTH:-80}
|
||||
|
||||
|
2
scripts/load-devel-config.sh → scripts/load-devel-config
Executable file → Normal file
2
scripts/load-devel-config.sh → scripts/load-devel-config
Executable file → Normal file
@ -1,5 +1,3 @@
|
||||
#! /bin/echo must be loaded with .
|
||||
|
||||
# Load DPDK devel config and allow override
|
||||
# from system file
|
||||
test ! -r /etc/dpdk/devel.config ||
|
@ -48,7 +48,7 @@ default_path=$PATH
|
||||
# - DPDK_NOTIFY (notify-send)
|
||||
# - LIBSSO_SNOW3G_PATH
|
||||
# - LIBSSO_KASUMI_PATH
|
||||
. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
. $(dirname $(readlink -e $0))/load-devel-config
|
||||
|
||||
print_usage () {
|
||||
echo "usage: $(basename $0) [-h] [-jX] [-s] [config1 [config2] ...]]"
|
||||
@ -211,7 +211,7 @@ for conf in $configs ; do
|
||||
# reload config with DPDK_TARGET set
|
||||
DPDK_TARGET=$target
|
||||
reset_env
|
||||
. $(dirname $(readlink -e $0))/load-devel-config.sh
|
||||
. $(dirname $(readlink -e $0))/load-devel-config
|
||||
|
||||
options=$(echo $conf | sed 's,[^~+]*,,')
|
||||
dir=$conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user