summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/package.sh3
1 files changed, 3 insertions, 0 deletions
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}"
}