summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-07 13:43:14 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-07 13:43:14 (EST)
commit40b051849935275b55fae4101cde240f992a6940 (patch)
treec811dc59cc229f22403c6dfadca3942c17aac1b9
parent432aec597b00ad9f9025b625ae9a8afb0139e512 (diff)
src/install.sh: Use ${WGET}
-rw-r--r--src/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index e1e93df..5748005 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -196,7 +196,7 @@ install_get_pkgs()
sed -n "s/^${pkg} //p")"
sha256sum="$(printf '%s\n' "${install_sha256sums}" | \
sed -n "s/^${pkg} //p")"
- wget -q -O "${chroot}/var/cache/opkg/archives/${fname##*/}" \
+ ${WGET} -q -O "${chroot}/var/cache/opkg/archives/${fname##*/}" \
"${fname}" || \
error 2 "$(get_msg 'install_downloading_pkg_fail')"
fname="var/cache/opkg/archives/${fname##*/}"