summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-12-31 00:30:47 +0000
committerMike Frysinger <vapier@gentoo.org>2013-12-31 00:30:47 +0000
commite5542068908d5f883e4eac2bdf8d2dc9fec18d3f (patch)
tree393091241fcf36846050a49f999ad2ceff5694fb /media-tv/xbmc/files
parentAlways require java for live git ebuilds now #488118 by hal. (diff)
downloadgentoo-2-e5542068908d5f883e4eac2bdf8d2dc9fec18d3f.tar.gz
gentoo-2-e5542068908d5f883e4eac2bdf8d2dc9fec18d3f.tar.bz2
gentoo-2-e5542068908d5f883e4eac2bdf8d2dc9fec18d3f.zip
show byte size of tarball
Diffstat (limited to 'media-tv/xbmc/files')
-rwxr-xr-xmedia-tv/xbmc/files/generate.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-tv/xbmc/files/generate.sh b/media-tv/xbmc/files/generate.sh
index ff0a6c1901b5..68d1082bcae5 100755
--- a/media-tv/xbmc/files/generate.sh
+++ b/media-tv/xbmc/files/generate.sh
@@ -19,7 +19,10 @@ else
d=.
fi
make -C ${d} -j -f codegenerator.mk
-tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz
+tar="${DISTDIR}/${P}-generated-addons.tar.xz"
+tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > "${tar}"
if [[ ${PV} != "9999" ]] ; then
rm -rf ${PN}-*/
fi
+
+du -b "${tar}"