diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-18 15:59:30 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-18 15:59:30 (EDT) |
commit | a53e0cbe304dca54ec9c82e59e7b642769be9242 (patch) | |
tree | 625544c50c40b8c80a419a580c2ba102851f60b5 /lib/package | |
parent | da3ddca19dbcefc9e0a2d39eb22d7f3a40b7f987 (diff) |
ob_set_substvar(): Rename to ob_set_source_substvar()
Diffstat (limited to 'lib/package')
-rw-r--r-- | lib/package/2.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh index 4be68aa..40a985d 100644 --- a/lib/package/2.sh +++ b/lib/package/2.sh @@ -161,10 +161,12 @@ _ob_set_package_substvars_2() _ob_substvar_2 '' fi - ob_set_substvar 'Source-Version' "$(ob_get_source_parameter 'Version')" - ob_set_substvar 'Binary-Version' "$(ob_get_source_parameter 'Version')" - ob_set_substvar 'Host-Arch' "${OPK_HOST_ARCH}" - ob_set_substvar 'Host-Plat' "${OPK_HOST_PLAT}" + ob_set_source_substvar 'Source-Version' \ + "$(ob_get_source_parameter 'Version')" + ob_set_source_substvar 'Binary-Version' \ + "$(ob_get_source_parameter 'Version')" + ob_set_source_substvar 'Host-Arch' "${OPK_HOST_ARCH}" + ob_set_source_substvar 'Host-Plat' "${OPK_HOST_PLAT}" return 0 } @@ -176,7 +178,7 @@ _ob_substvar_2() local user_data="${3}" shift 3 || _ob_abort - ob_set_substvar "${name}" "${value}" + ob_set_source_substvar "${name}" "${value}" return 0 } |