summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/package.sh25
1 files changed, 10 insertions, 15 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 6aa7b94..c684cc5 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -23,6 +23,16 @@ _OB_BINARY_PACKAGES=
_OB_SOURCE_PARAMETERS=
_OB_BINARY_PARAMETERS=
+_ob_package_do()
+{
+ local func="${1}"
+ shift 1 || _ob_abort
+
+ "_ob_${func}_${_OB_PACKAGE_FORMAT}" "${@}" || return ${?}
+
+ return 0
+}
+
ob_init_package()
{
local dir="${1}"
@@ -45,21 +55,6 @@ ob_init_package()
_OB_BINARY_PACKAGES=
- return 0
-}
-
-_ob_package_do()
-{
- local func="${1}"
- shift 1 || _ob_abort
-
- "_ob_${func}_${_OB_PACKAGE_FORMAT}" "${@}" || return ${?}
-
- return 0
-}
-
-ob_parse_package_metadata()
-{
_ob_package_do 'parse_package_metadata' || return ${?}
return 0