From d12a686015e86c04b83d547437b8d455128fbcfb Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 28 Jun 2024 13:50:35 +0100 Subject: vendor fetch(): condense variable initialisation Signed-off-by: Leah Rowe --- include/vendor.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/vendor.sh b/include/vendor.sh index 3ed2eb71..e3826390 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -90,10 +90,7 @@ getfiles() fetch() { - dl_type="$1" - dl="$2" - dl_bkup="$3" - dlsum="$4" + dl_type="$1"; dl="$2"; dl_bkup="$3"; dlsum="$4" [ "$5" = "/dev/null" ] && return 0 [ "${5# }" = "$5" ] || $err "fetch: space not allowed in _dest: '$5'" [ "${5#/}" = "$5" ] || $err "fetch: absolute path not allowed: '$5'" -- cgit v1.2.1