From e42cb4f4cd513f512397ff7a46b6174b39a9708e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 26 Sep 2025 00:09:46 +0100 Subject: xbmk: tidy up some if statements this is an extension of the previous work to unroll most of the condensed code lines. Signed-off-by: Leah Rowe --- include/get.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/get.sh') diff --git a/include/get.sh b/include/get.sh index cd5d0960..d5be5a73 100644 --- a/include/get.sh +++ b/include/get.sh @@ -28,7 +28,6 @@ fetch_project() if [ -n "$xtree" ]; then x_ ./mk -f coreboot "$xtree" fi - if [ -n "$depend" ]; then for d in $depend ; do x_ ./mk -f $d @@ -118,9 +117,7 @@ xbget() do if [ -z "$url" ]; then err "empty URL given in" "xbget" "$@" - fi - - if ! try_file "$url" "$@"; then + elif ! try_file "$url" "$@"; then continue fi -- cgit v1.2.1