From: Jim Meyering Date: Sun, 3 Mar 2002 23:25:05 +0000 (+0000) Subject: (tgz-size): Also handle a suffix of `K', since X-Git-Tag: FILEUTILS-4_1_7~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2020df67022fede640c7deecdf3883a3a49fb0f4;p=thirdparty%2Fcoreutils.git (tgz-size): Also handle a suffix of `K', since the sizes in the output of `du -h' now look like `29K' --- diff --git a/Makefile.maint b/Makefile.maint index 46cdd24e20..d63dacbdb0 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -209,9 +209,9 @@ bz2-md5 = $(shell md5sum < $(my_distdir).tar.bz2|sed 's/ -//') bz2-sha1 = $(shell sha1sum < $(my_distdir).tar.bz2|sed 's/ -//') xdelta-md5 = $(shell md5sum < $(xd-delta)|sed 's/ -//') xdelta-sha1 = $(shell sha1sum < $(xd-delta)|sed 's/ -//') -tgz-size = $(shell du --human $(my_distdir).tar.gz|sed 's/\([Mk]\).*/ \1B/') -bz2-size = $(shell du --human $(my_distdir).tar.bz2|sed 's/\([Mk]\).*/ \1B/') -xd-size = $(shell du --human $(xd-delta)|sed 's/\([Mk]\).*/ \1B/') +tgz-size = $(shell du --human $(my_distdir).tar.gz|sed 's/\([MkK]\).*/ \1B/') +bz2-size = $(shell du --human $(my_distdir).tar.bz2|sed 's/\([MkK]\).*/ \1B/') +xd-size = $(shell du --human $(xd-delta)|sed 's/\([MkK]\).*/ \1B/') rel-check: tarz=/tmp/rel-check-tarz-$$$$; \