summaryrefslogtreecommitdiffstats
path: root/src/package/2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/package/2.sh')
-rw-r--r--src/package/2.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/package/2.sh b/src/package/2.sh
index ccccff3..4fa4286 100644
--- a/src/package/2.sh
+++ b/src/package/2.sh
@@ -24,6 +24,7 @@ package_2_get_build_deps()
{
local arch="${1}"
local plat="${2}"
+ shift 2
package_2_build_deps=''
parse_control "${package_dir}/control" \
@@ -39,6 +40,7 @@ package_2_build_deps_field_cb()
{
local name="${1}"
local value="${2}"
+ shift 2
name="$(printf '%s\n' "${name}" | tr 'A-Z' 'a-z')"
@@ -54,6 +56,7 @@ package_2_set_substvars()
{
local arch="${1}"
local plat="${2}"
+ shift 2
if [ -f "${package_dir}/substvars" ]; then
parse_control "${package_dir}/substvars" \
@@ -70,6 +73,7 @@ package_2_substvar_cb()
{
local name="${1}"
local value="${2}"
+ shift 2
set_substvar "${name}" "${value}"