diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-16 11:03:23 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-16 11:03:23 (EDT) |
commit | 9ec1ab1b800b59cbbdcff1a29857a8a2d44a57c8 (patch) | |
tree | a5d11bee013056f045885b87104f59b67f19cc77 /src/feed.sh | |
parent | 29a1ce969f748ef72999b89935fb5a8bdb96c416 (diff) |
feed_download(): Write list file directly
Diffstat (limited to 'src/feed.sh')
-rw-r--r-- | src/feed.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/feed.sh b/src/feed.sh index b5247e3..a29ea0a 100644 --- a/src/feed.sh +++ b/src/feed.sh @@ -32,7 +32,8 @@ feed_deps= feed_download() { local base_url="${1}" - local use_gzip="${2}" + local list_file="${2}" + local use_gzip="${3}" local url= if ${use_gzip}; then @@ -41,7 +42,7 @@ feed_download() url="${base_url}/Packages" fi - ${WGET} -q -O - "${url}" + ${WGET} -q -O "${list_file}" "${url}" return 0 } |