summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-xinclude/vendor.sh5
1 files changed, 1 insertions, 4 deletions
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'"