summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 01:11:17 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 01:11:17 (EDT)
commit0ed80c7a9c4498ef1f8393e420fe531a8ccc8f27 (patch)
treed5f73d718db66b55b74a73264fe989805b06ae5b /src
parent7bc53375753b7e348ec956e8eb33886a92aab4a6 (diff)
ob-buildopk: Add control.tar.gz before data.tar.gz
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildopk.sh6
1 files changed, 3 insertions, 3 deletions
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
}