From c41d4889f85d2143aaf21adfce2aacf84b8c992f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 18:15:37 -0400 Subject: src/deps.sh: Shift function arguments Also update copyright notice. --- (limited to 'src') diff --git a/src/deps.sh b/src/deps.sh index 9a30fe9..25c2cf7 100644 --- a/src/deps.sh +++ b/src/deps.sh @@ -1,6 +1,6 @@ # Functions for parsing dependency field values # -# Copyright (C) 2012-2014 Patrick "P. J." McDermott +# Copyright (C) 2012-2014 Patrick McDermott # # This file is part of the ProteanOS Development Kit. # @@ -22,6 +22,7 @@ resolve_deps() { local new_pkgs="${1}" local deps="${2}" + shift 2 local all_deps= local new_deps= local pkg= @@ -55,6 +56,7 @@ parse_dep() local dep="${1}" local host_arch="${2}" local host_plat="${3}" + shift 3 local pkgarchqual= local pkg= local archqual= @@ -138,6 +140,7 @@ reduce_deps() local union="${2}" local host_arch="${3}" local host_plat="${4}" + shift 4 local dep_and= local dep_or= local dep_list= -- cgit v0.9.1