From 0ed80c7a9c4498ef1f8393e420fe531a8ccc8f27 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 16 Jun 2019 01:11:17 -0400 Subject: ob-buildopk: Add control.tar.gz before data.tar.gz --- (limited to 'src') diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh index a9dab2c..da111ef 100644 --- a/src/ob-buildopk.sh +++ b/src/ob-buildopk.sh @@ -32,13 +32,13 @@ build_opk() "${binary}_${version}_${arch}_${plat}.opk" find "${binary}.control" "${binary}.data" | xargs touch -d "${date}" - (cd -- "${binary}.data" && tar -czf '../data.tar.gz' '.') (cd -- "${binary}.control" && tar -czf '../control.tar.gz' '.') + (cd -- "${binary}.data" && tar -czf '../data.tar.gz' '.') touch -d "${date}" 'control.tar.gz' 'data.tar.gz' tar -czf "../../${binary}_${version}_${arch}_${plat}.opk" \ - 'debian-binary' 'data.tar.gz' 'control.tar.gz' - rm -Rf 'data.tar.gz' 'control.tar.gz' + 'debian-binary' 'control.tar.gz' 'data.tar.gz' + rm -Rf 'control.tar.gz' 'data.tar.gz' return 0 } -- cgit v0.9.1