From e3a2e82381c8192b6e6c7868d12497422bcd0d26 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 18:30:21 -0400 Subject: src/feed.sh: Shift func args, update copyright --- 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')" -- cgit v0.9.1