diff options
-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')" |