summaryrefslogtreecommitdiffstats
path: root/lib/package
diff options
context:
space:
mode:
Diffstat (limited to 'lib/package')
-rw-r--r--lib/package/2.sh12
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
}