summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=''