From: martin f. krafft Date: Fri, 29 Jan 2010 03:39:02 +0000 (+0100) Subject: gzip-compress the bundles X-Git-Url: https://git.madduck.net/code/mbuild.git/commitdiff_plain/515467eb45e25228e1a6408cd5cef69601ee039e?ds=inline;pf=code gzip-compress the bundles Signed-off-by: martin f. krafft --- diff --git a/sbuild-wrapper.sh b/sbuild-wrapper.sh index be75ff3..f699274 100755 --- a/sbuild-wrapper.sh +++ b/sbuild-wrapper.sh @@ -208,8 +208,8 @@ fi DATESTR="$(date +%Y.%m.%d.%H%M%S)" BUILD_PREFIX="${packagenameversion}_${arch}.${DATESTR}" -bundle="${BUNDLE_DIR}/${BUILD_PREFIX}".bundle.tar -tar -chf "$bundle" * +bundle="${BUNDLE_DIR}/${BUILD_PREFIX}".bundle.tar.gz +tar -chzf "$bundle" * chmod 644 "$bundle" print_bundle_location "$bundle"