summaryrefslogtreecommitdiffstats
path: root/lib/package
diff options
context:
space:
mode:
Diffstat (limited to 'lib/package')
-rw-r--r--lib/package/2.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh
index ad6750d..1c643ef 100644
--- a/lib/package/2.sh
+++ b/lib/package/2.sh
@@ -134,14 +134,12 @@ _ob_get_doc_package_2()
_ob_get_doc_files_2()
{
- _ob_local _obgdf2_doc_pkg
+ _ob_local _obgdf2_arch _obgdf2_plat _obgdf2_doc_pkg
- _obgdf2_doc_pkg="$(_ob_get_doc_package_2)"
+ _obgdf2_arch="${1}"
+ _obgdf2_plat="${2}"
- if [ ${?} -ne 0 ]; then
- _ob_return 1
- return ${?}
- fi
+ _obgdf2_doc_pkg="$(_ob_get_doc_package_2)"
cat <<-EOF
../copyright