From 69c47a911b5aa490c3496acc62039ce7d31fb4aa Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 22:12:26 -0400 Subject: src/package.sh: Shift function arguments --- diff --git a/src/package.sh b/src/package.sh index 581c79a..a54d9f8 100644 --- a/src/package.sh +++ b/src/package.sh @@ -24,6 +24,7 @@ package_format= package_init() { local dir="${1}" + shift 1 package_dir="${dir}" @@ -48,6 +49,7 @@ package_get_build_deps() { local arch="${1}" local plat="${2}" + shift 2 "package_${package_format}_get_build_deps" "${arch}" "${plat}" } @@ -56,6 +58,7 @@ package_set_substvars() { local arch="${1}" local plat="${2}" + shift 2 "package_${package_format}_set_substvars" "${arch}" "${plat}" } -- cgit v0.9.1