diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 18:30:21 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 18:30:21 (EDT) |
commit | e3a2e82381c8192b6e6c7868d12497422bcd0d26 (patch) | |
tree | 420b62b06a263dd8fdddec03d18b9fe830e4b12b /src | |
parent | 1ce4ec34c05a6a58f229dc231664ba66875598bc (diff) |
src/feed.sh: Shift func args, update copyright
Diffstat (limited to 'src')
-rw-r--r-- | src/feed.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/feed.sh b/src/feed.sh index af1cfe3..9ca101a 100644 --- a/src/feed.sh +++ b/src/feed.sh @@ -1,6 +1,6 @@ # Functions for handling feed index files # -# Copyright (C) 2013, 2014 Patrick "P. J." McDermott +# Copyright (C) 2013, 2014 Patrick McDermott # # This file is part of the ProteanOS Development Kit. # @@ -35,6 +35,7 @@ feed_download() local list_file="${2}" local use_gzip="${3}" local root="${4}" + shift 4 local url= local gunzip= @@ -66,6 +67,7 @@ feed_download_cert() local list_file="${2}" local use_gzip="${3}" local root="${4}" + shift 4 local url= local usign= local opkg_cert= @@ -118,6 +120,7 @@ feed_find_pkgs() local fname_cb="${5}" local md5sum_cb="${6}" local sha256sum_cb="${7}" + shift 7 feed_dep_fields=" $(printf '%s ' ${dep_fields} | tr 'A-Z' 'a-z')" feed_pkg_cb="${pkg_cb}" @@ -145,6 +148,7 @@ feed_field_cb() { local name="${1}" local value="${2}" + shift 2 name="$(printf '%s\n' "${name}" | tr 'A-Z' 'a-z')" |