summaryrefslogtreecommitdiffstats
path: root/src/dist
diff options
context:
space:
mode:
Diffstat (limited to 'src/dist')
-rw-r--r--src/dist/libiquity.sh5
-rw-r--r--src/dist/libreboot.sh3
2 files changed, 3 insertions, 5 deletions
diff --git a/src/dist/libiquity.sh b/src/dist/libiquity.sh
index dfd774d..05d004a 100644
--- a/src/dist/libiquity.sh
+++ b/src/dist/libiquity.sh
@@ -35,7 +35,6 @@ dist_libiquity_get_versions()
local mirror="${1}"
local board="${2}"
shift 2
- local dl="${WGET} -q -O -"
local version=
local versions=''
@@ -57,12 +56,12 @@ dist_libiquity_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
done <<-EOF
- $(${dl} "${mirror}/Manifest")
+ $(dl "${mirror}/Manifest")
EOF
printf '%s ' ${versions}
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