diff options
-rw-r--r-- | src/ob-buildopk.sh | 6 |
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 } |