diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-18 16:00:07 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-18 16:00:07 (EDT) |
commit | 8bc3cf96d0d5efc798bf8510b7b10f2f4abb95fd (patch) | |
tree | c76e31d8fa2bec86efd1276faf380c4dec42488c /lib | |
parent | a53e0cbe304dca54ec9c82e59e7b642769be9242 (diff) |
_ob_substvar_2(): Define above usage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/package/2.sh | 24 |
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 -} |