diff options
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-x | include/vendor.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index c60a3d77..c4241efa 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -79,8 +79,6 @@ fetch() { 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'" _dest="${5##*../}"; _dl="$vendir/cache/$dlsum" download "$dl" "$dl_bkup" "$_dl" "$dlsum" |