From 0a0defd3256ff5e29e3b4d129a04fb7546bc31ac Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 30 Sep 2023 18:41:57 +0100 Subject: simplify initialising variables in shell scripts Signed-off-by: Leah Rowe --- script/handle/make/file | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script/handle/make/file') diff --git a/script/handle/make/file b/script/handle/make/file index 0d0d6f3c..19807425 100755 --- a/script/handle/make/file +++ b/script/handle/make/file @@ -7,8 +7,7 @@ set -u -e . "include/err.sh" -mode="" -project="" +eval "$(setvars "" mode project)" main() { -- cgit v1.2.1