From bcd01b372aac6256dafad1381d3269b4d7bcfd74 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 02 Aug 2012 08:14:34 -0400 Subject: Fix format version check. --- 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 -- cgit v0.9.1