From ed4d7b78d105b4f6c1e96189953f89b15f5aaacf Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 28 Oct 2015 12:40:12 -0400 Subject: dist_*_get_versions(): Use dl() --- (limited to 'src/dist/libreboot.sh') diff --git a/src/dist/libreboot.sh b/src/dist/libreboot.sh index 4d611e9..46f99f9 100644 --- a/src/dist/libreboot.sh +++ b/src/dist/libreboot.sh @@ -49,7 +49,6 @@ dist_libreboot_get_versions() local mirror="${1}" local board="${2}" shift 2 - local dl="${WGET} -q -O -" local version= local versions='' @@ -71,7 +70,7 @@ dist_libreboot_get_versions() archive="${archive}_grub_${board}.tar.xz" ;; esac - if ${dl} "${mirror}/${version}/${sums}" | \ + if dl "${mirror}/${version}/${sums}" | \ grep -F " ${archive}" >/dev/null 2>&1; then versions="${versions} ${version}" fi -- cgit v0.9.1