summaryrefslogtreecommitdiffstats
path: root/src/dist/libreboot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dist/libreboot.sh')
-rw-r--r--src/dist/libreboot.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/dist/libreboot.sh b/src/dist/libreboot.sh
index 1b30e72..00d53ca 100644
--- a/src/dist/libreboot.sh
+++ b/src/dist/libreboot.sh
@@ -49,10 +49,14 @@ dist_libreboot_get_versions()
local mirror="${1}"
local board="${2}"
shift 2
- local version=
local versions=''
+ local version=
+
+ versions='20150518' # Hardcode this list until a manifest is available.
- while read -r version; do
+ IFS="${LF}"
+ for version in ${versions}; do
+ unset IFS
case "${version}" in
201[34]* | 20150[1-4]*)
# These versions had ROMs in X60_binary.tar.gz,
@@ -74,9 +78,8 @@ dist_libreboot_get_versions()
grep -F " ${archive}" >/dev/null 2>&1; then
versions="${versions} ${version}"
fi
- done <<-EOF
- 20150518 $(: Hardcode this list until a manifest is available)
- EOF
+ done
+ unset IFS
printf '%s ' ${versions}
return 0