summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-02 08:14:34 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-02 08:14:34 (EDT)
commitbcd01b372aac6256dafad1381d3269b4d7bcfd74 (patch)
treeb072961d707b4a6c89633810aab7a372f23cc149
parent9bce186316c34f936202083be20327d48d41c294 (diff)
Fix format version check.
-rw-r--r--src/opkbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index f9154de..7ba330e 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -211,7 +211,7 @@ find_sanity()
if [ "${?}" -ne 0 ]; then
oh_error "${oh_str_no_format}"
fi
- if [ "${format}" -ne 0 ]; then
+ if [ "${format}" != '2.0' ]; then
oh_error "${oh_str_unsupported_format}" "${format}"
fi