aboutsummaryrefslogtreecommitdiffstats
path: root/download.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-25 11:15:34 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-25 11:15:34 -0500
commit89a12d1e4dc4fddf6ea4f3be84310cb789d0bc09 (patch)
treed11192eb9e13daf2188ca143b51cb3139b28ad38 /download.sh
parent3129e0fd3f2928862974902fb06e7258ec122b5e (diff)
parent41b1fa5813a7e7dd1df52ea8a9afc5062dff9d7d (diff)
Merge branch 'master' into chapter7
Diffstat (limited to 'download.sh')
-rw-r--r--download.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/download.sh b/download.sh
index d816394..72b7bb3 100644
--- a/download.sh
+++ b/download.sh
@@ -24,7 +24,6 @@ cat packages.csv patches.csv | while read -r line; do
printf "%b" "${PRP}Downloading ${YLW}${CACHEFILE}${RST}... "
- #wget -nc ${URL} -O ${LFS}/sources/${CACHEFILE} --progress=dot -q --show-progress 2>&1 | awk 'NF>2 && $(NF-2) ~ /%/{printf "\r \t\t\t\t\t\t%s",$(NF-2)} END{print "\r "}'
download "${URL}"
if ! echo "${MD5SUM} ${LFS}/sources/${CACHEFILE}" | md5sum -c > /dev/null 2>&1; then
rm -f "${LFS}/sources/${CACHEFILE}"
@@ -33,3 +32,5 @@ cat packages.csv patches.csv | while read -r line; do
fi
fi
done
+
+unset VERSION URL MD5SUM CACHEFILE