From 3af63fb8b70e9c939c0a8e8e27bfa23e900506f1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Oct 2023 22:37:09 +0100 Subject: handle/make/file: exit 0 if no makefile There is no reason to err if no Makefile exists. Just exit with zero status. This makes the following command work: ./handle make file -c util/* Within util/, there is me7 update parser which does not have a makefile (it's a python script). Signed-off-by: Leah Rowe --- script/handle/make/file | 1 + 1 file changed, 1 insertion(+) (limited to 'script') diff --git a/script/handle/make/file b/script/handle/make/file index e09bd887..698f4175 100755 --- a/script/handle/make/file +++ b/script/handle/make/file @@ -44,6 +44,7 @@ handle_dependencies() run_make_command() { + [ -f "${project}/Makefile" ] || return 0 if [ -z "${mode}" ]; then x_ make -C "${project}" -j$(nproc) else -- cgit v1.2.1