From 74c48a881df378a83e261c2785012609d81d801e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 27 Sep 2023 21:46:20 +0100 Subject: move build/command/options to include/option.sh Signed-off-by: Leah Rowe --- script/handle/make/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/handle/make/config') diff --git a/script/handle/make/config b/script/handle/make/config index 59b44998..be6f1538 100755 --- a/script/handle/make/config +++ b/script/handle/make/config @@ -8,6 +8,7 @@ set -u -e . "include/err.sh" +. "include/option.sh" read projectname < projectname read our_version < version @@ -66,7 +67,7 @@ handle_dependencies() [ -f "${listfile}" ] || fail "list file, ${listfile}, does not exist" # Build for all targets if no argument is given - targets=$(./build command options "${cfgsdir}") || \ + targets=$(listitems "${cfgsdir}") || \ fail "Cannot get options for ${cfgsdir}" [ $# -gt 0 ] && targets=$@ -- cgit v1.2.1