From cb074214309097382fdb064c09b9e7045512a979 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 22 Apr 2012 17:16:14 -0400 Subject: Move definitions of OH_SRCPKG and OH_PKGVER. --- (limited to 'src') diff --git a/src/opkbuild.sh b/src/opkbuild.sh index c942eb7..efec272 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -174,6 +174,8 @@ cd tmp printf 'opkbuild: Reading source package control fields...\n' srcpkg=$(oh_get_field Source) version=$(oh_get_field Version) +export OH_SRCPKG="${srcpkg}" +export OH_PKGVER=${version} # Set environment variables for the build configuration. export OH_HOST_PLATFORM="${platform}" @@ -182,8 +184,6 @@ IFS=- read OH_HOST_ARCH_CPU OH_HOST_ARCH_KERNEL OH_HOST_ARCH_LIBS <