summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 18:15:37 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 18:15:37 (EDT)
commitc41d4889f85d2143aaf21adfce2aacf84b8c992f (patch)
tree26599c2322167b18b9a4093e376af6432c5c188f
parent54ba262da71bc33a04d2438ba8872f0400c05ca7 (diff)
src/deps.sh: Shift function arguments
Also update copyright notice.
-rw-r--r--src/deps.sh5
1 files changed, 4 insertions, 1 deletions
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=