blob: df1135e21a3c6dd1df765740e5bfdc03244ec294 (
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
|
From bc7912ee552446471dadc49893b1a821f1acb1c4 Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Sun, 4 Aug 2019 21:11:30 -0400
Subject: [PATCH] ob-buildopk: Really check for BB tar reverse ordering bug
---
src/ob-buildopk.sh | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index 598419f..b781abb 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -57,7 +57,7 @@ build_opk()
# order.
touch '.opkbuild/a' '.opkbuild/b'
if [ x"$(printf '.opkbuild/a\n.opkbuild/b\n' | ${TAR} -c -T - | \
- ${TAR} -t | head -n 1)" = x'b' ]; then
+ ${TAR} -t | head -n 1)" = x'.opkbuild/b' ]; then
sort_r='-r'
else
sort_r=''
--
2.11.0
|