summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-28 12:32:49 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-28 12:32:49 (EDT)
commit1e522cb56885b8037b0df0e5b318a693f9f8fd86 (patch)
tree68477ff8e2e2b6aadd35b24302c4df939d3154d0
parent5236ac8393f378dcf630e90b98183ddc3322e74b (diff)
downloadfirman.sh-1e522cb56885b8037b0df0e5b318a693f9f8fd86.zip
firman.sh-1e522cb56885b8037b0df0e5b318a693f9f8fd86.tar.gz
firman.sh-1e522cb56885b8037b0df0e5b318a693f9f8fd86.tar.bz2
dl(): Fix
Bad yank/put.
-rw-r--r--src/download.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download.sh b/src/download.sh
index a95a94b..7565bf6 100644
--- a/src/download.sh
+++ b/src/download.sh
@@ -52,7 +52,7 @@ dl()
local url="${1}"
shift 1
- if ! ${WGET} -q -O "${temp_dir}/${file}" "${url}"; then
+ if ! ${WGET} -q -O - "${url}"; then
err 'Failed to download "%s"' "${url}"
return 1
fi