From 8bc3cf96d0d5efc798bf8510b7b10f2f4abb95fd Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 16:00:07 -0400 Subject: _ob_substvar_2(): Define above usage --- 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 -} -- cgit v0.9.1