From bc7912ee552446471dadc49893b1a821f1acb1c4 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 04 Aug 2019 21:11:30 -0400 Subject: ob-buildopk: Really check for BB tar reverse ordering bug --- 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='' -- cgit v0.9.1