summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-08-04 21:11:30 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-08-04 21:11:30 (EDT)
commitbc7912ee552446471dadc49893b1a821f1acb1c4 (patch)
tree03a560bb80b851e72411fa21064965e2dbad342d
parent957bcef02fadd42ae9a5ea6eb8a0417f4f867b50 (diff)
ob-buildopk: Really check for BB tar reverse ordering bug
-rw-r--r--NEWS7
-rw-r--r--src/ob-buildopk.sh2
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0f44a47..765c135 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,13 @@ opkbuild version 4.1.4+dev
Released: ????-??-??
+The "sixth time's the charm" release.
+
+Utilities:
+
+ * ob-buildopk now correctly checks for the BusyBox tar reverse
+ ordering bug.
+
opkbuild version 4.1.4
----------------------
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=''