- Pipe the package uncompressed size to awk in order to get only the value and not the filename

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1195 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-16 13:58:18 +00:00
parent 6d4e756546
commit 5391aa12da
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ done
cd ${curdir}
pkg_size="$( du -sk ${curdir} )"
pkg_size="$( du -sk "${curdir}" | awk '{ print $1; }' )"
mkdir -p "${destdir}/DEBIAN"
sed "s|@SIZE@|${pkg_size}|g" "$1" > "${destdir}/DEBIAN/control"