From c1d996ad82a94df4edccfb751ea65c8056844cc1 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Sat, 17 Aug 2013 22:13:32 -0400
Subject: opkbuild: Enable ob-genchanges.

---
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index a63bde4..ebf010d 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -284,6 +284,9 @@ build_source()
 	if ! OB_DO_SOURCE='true' '@@BINDIR@@/ob-buildopk'; then
 		exit 1
 	fi
+	if ! OB_DO_SOURCE='true' '@@BINDIR@@/ob-genchanges'; then
+		exit 1
+	fi
 
 	rm -Rf "src-${src}.data" || ob_error "$(ob_get_msg 'cant_rm_src_pkg_data')"
 }
@@ -350,8 +353,7 @@ build()
 			;;
 	esac
 
-	# TODO: Remove the ":" when ob-genchanges is implemented.
-	if ! : '@@BINDIR@@/ob-genchanges'; then
+	if ! '@@BINDIR@@/ob-genchanges'; then
 		exit 1
 	fi
 }
--
cgit v0.9.1