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 --- (limited to 'src') 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