From e8dadb4d7571633cb0b1b085c449ad606dec2ebd Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 11:27:00 -0400 Subject: s/OB_/OPK_/ in env vars specified by SPF 2.0. --- diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 2091b3f..21c6e1a 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -26,22 +26,22 @@ ob_use output ob_use package ob_use metadata -export OB_SOURCE= -export OB_SOURCE_VERSION= -export OB_SOURCE_VERSION_UPSTREAM= -export OB_BINARY_VERSION= -export OB_BUILD_ARCH= -export OB_BUILD_ARCH_CPU= -export OB_BUILD_ARCH_KERNEL= -export OB_BUILD_ARCH_LIBS= -export OB_BUILD_PLATFORM= -export OB_BUILD_ARCH_GNU= -export OB_HOST_ARCH= -export OB_HOST_ARCH_CPU= -export OB_HOST_ARCH_KERNEL= -export OB_HOST_ARCH_LIBS= -export OB_HOST_PLATFORM= -export OB_HOST_ARCH_GNU= +export OPK_SOURCE= +export OPK_SOURCE_VERSION= +export OPK_SOURCE_VERSION_UPSTREAM= +export OPK_BINARY_VERSION= +export OPK_BUILD_ARCH= +export OPK_BUILD_ARCH_CPU= +export OPK_BUILD_ARCH_KERNEL= +export OPK_BUILD_ARCH_LIBS= +export OPK_BUILD_PLATFORM= +export OPK_BUILD_ARCH_GNU= +export OPK_HOST_ARCH= +export OPK_HOST_ARCH_CPU= +export OPK_HOST_ARCH_KERNEL= +export OPK_HOST_ARCH_LIBS= +export OPK_HOST_PLATFORM= +export OPK_HOST_ARCH_GNU= opt_build= opt_target= @@ -210,26 +210,26 @@ setup_arch_plat() { ob_info "$(ob_get_msg 'setup_arch_plat')" - OB_BUILD_ARCH="$(ob_get_system_arch)" - OB_BUILD_PLATFORM="$(ob_get_system_plat)" + OPK_BUILD_ARCH="$(ob_get_system_arch)" + OPK_BUILD_PLATFORM="$(ob_get_system_plat)" if [ -n "${opt_host_arch}" ]; then - OB_HOST_ARCH="${opt_host_arch}" + OPK_HOST_ARCH="${opt_host_arch}" else - OB_HOST_ARCH="${OB_BUILD_ARCH}" + OPK_HOST_ARCH="${OPK_BUILD_ARCH}" fi if [ -n "${opt_host_plat}" ]; then - OB_HOST_PLATFORM="${opt_host_plat}" + OPK_HOST_PLATFORM="${opt_host_plat}" else - OB_HOST_PLATFORM="${OB_BUILD_PLATFORM}" + OPK_HOST_PLATFORM="${OPK_BUILD_PLATFORM}" fi - IFS=- read OB_BUILD_ARCH_CPU OB_BUILD_ARCH_KERNEL OB_BUILD_ARCH_LIBS <