summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildopk.sh2
1 files changed, 1 insertions, 1 deletions
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=''