vendor.sh: remove unnecessary check
this is over-engineering, because we do not allow just about any path to be provided; it's not provided as an argument in a command, for example. this is dictated by a configuration file, which we control. Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
5e46b9f434
commit
675d2c0376
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue