diff options
Diffstat (limited to 'src/ob-buildopk.sh')
-rw-r--r-- | src/ob-buildopk.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh index 41a9acc..2ea8985 100644 --- a/src/ob-buildopk.sh +++ b/src/ob-buildopk.sh @@ -32,7 +32,7 @@ main() ob_init_package '..' ob_parse_package_metadata -c '.opkbuild.cache' - echo '2.0' >debian-binary + echo '2.0' >'debian-binary' if [ -n "${OB_DO_SOURCE}" ]; then build_opk "src:${OB_SOURCE}" "${OB_SOURCE_VERSION}" else @@ -40,7 +40,7 @@ main() build_opk "${pkg}" "${OB_BINARY_VERSION}" done fi - rm debian-binary + rm 'debian-binary' } build_opk() @@ -51,9 +51,9 @@ build_opk() (cd "${binary}.data" && tar -czf '../data.tar.gz' '.') (cd "${binary}.control" && tar -czf '../control.tar.gz' '.') - tar -czf ../../${binary}_${version}_all.opk \ - debian-binary data.tar.gz control.tar.gz - rm -Rf data.tar.gz control.tar.gz + tar -czf "../../${binary}_${version}_all.opk" \ + 'debian-binary' 'data.tar.gz' 'control.tar.gz' + rm -Rf 'data.tar.gz' 'control.tar.gz' } main "${@}" |