From a53e0cbe304dca54ec9c82e59e7b642769be9242 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 15:59:30 -0400 Subject: ob_set_substvar(): Rename to ob_set_source_substvar() --- (limited to 'lib/package') 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 } -- cgit v0.9.1