summaryrefslogtreecommitdiffstats
path: root/lib/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/package.sh')
-rw-r--r--lib/package.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 63d599a..8b4ee05 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -291,14 +291,17 @@ ob_get_doc_package()
ob_get_doc_files()
{
- _ob_local
+ _ob_local _obgdf_arch _obgdf_plat
- if [ ${#} -gt 0 ]; then
+ if [ ${#} -eq 2 ]; then
+ _obgdf_arch="${1}"
+ _obgdf_plat="${2}"
+ else
_ob_return 125
return ${?}
fi
- _ob_package_do 'get_doc_files'
+ _ob_package_do 'get_doc_files' "${_obgdf_arch}" "${_obgdf_plat}"
_ob_return ${?}
return ${?}