mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
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 <leah@libreboot.org>
This commit is contained in:
+1
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user