summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/package/2.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh
index 40a985d..00b0f25 100644
--- a/lib/package/2.sh
+++ b/lib/package/2.sh
@@ -151,6 +151,18 @@ _ob_get_doc_files_2()
return 0
}
+_ob_substvar_2()
+{
+ local name="${1}"
+ local value="${2}"
+ local user_data="${3}"
+ shift 3 || _ob_abort
+
+ ob_set_source_substvar "${name}" "${value}"
+
+ return 0
+}
+
_ob_set_package_substvars_2()
{
local pkg="${1}"
@@ -170,15 +182,3 @@ _ob_set_package_substvars_2()
return 0
}
-
-_ob_substvar_2()
-{
- local name="${1}"
- local value="${2}"
- local user_data="${3}"
- shift 3 || _ob_abort
-
- ob_set_source_substvar "${name}" "${value}"
-
- return 0
-}