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