summaryrefslogtreecommitdiffstats
path: root/patches/0001-ob-gencontrol-Populate-Binary-field.patch
blob: 58715f4cdf394e525ee0cf69ace43cc78a6d05ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From b33a30af8a14e9b0c60ef2050829702c693a04c1 Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Tue, 18 Jun 2019 11:12:58 -0400
Subject: [PATCH] ob-gencontrol: Populate Binary field

---
 src/ob-gencontrol.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index e1fffdf..3fb1aac 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -79,8 +79,8 @@ gen_control_src()
 	cat >"${binary}.control/control" <<-EOF
 		Package: src-${OPK_SOURCE}
 		Source: ${OPK_SOURCE}
-		Binary:$(printf '%s\n' ${OPK_PACKAGES} | LC_ALL='C' sort | \
-			xargs printf ' %s')
+		Binary:$(printf '%s\n' $(ob_get_binary_packages) | \
+			LC_ALL='C' sort | xargs printf ' %s')
 		Version: ${OPK_SOURCE_VERSION}
 		Architecture: src
 		Platform: all
-- 
2.11.0