summaryrefslogtreecommitdiffstats
path: root/src/opkbuild
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-02-03 13:53:57 (EST)
committer P. J. McDermott <pjm@nac.net>2012-02-03 13:53:57 (EST)
commitb3fa3341e50d6a761fe20c6ca4ce4de27529b38b (patch)
treeaf91bc9802ac155cefb6f5feea1e6e49aa5a5623 /src/opkbuild
parent99702095780dd12910e5cd8e0780ef2133564da0 (diff)
Remove distinct version and revision variables.
Diffstat (limited to 'src/opkbuild')
-rw-r--r--src/opkbuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 542fe4e..902e331 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -145,8 +145,7 @@ ${OH_ARCH}
EOF
export OH_ARCH_CPU OH_ARCH_VENDOR OH_ARCH_KERNEL OH_ARCH_LIBS
export OH_SRCPKG="${srcpkg}"
-export OH_PKGVER=${version%'-'*}
-export OH_PKGREV=${version#*'-'}
+export OH_PKGVER=${version}
# Check build dependencies.
oh-checkbuilddeps || error "${srcpkg}-src"