diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 22:12:26 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-25 22:12:26 (EDT) |
commit | 69c47a911b5aa490c3496acc62039ce7d31fb4aa (patch) | |
tree | 8440bb9d7337ffc1c1c2a8af06652b207d75ff23 | |
parent | 46653c1cefd62444ab003e9c0fcaea7b6b3b2c2b (diff) |
src/package.sh: Shift function arguments
-rw-r--r-- | src/package.sh | 3 |
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}" } |