]> git.decadent.org.uk Git - dak.git/commitdiff
Output size in bytes.
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Nov 2011 15:24:50 +0000 (15:24 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Nov 2011 15:24:50 +0000 (15:24 +0000)
Bug: http://bugs.debian.org/649150

scripts/debian/ddtp-i18n-check.sh

index f894f1ccb943509c991759432aeb4742fd083e1e..8f5c6c08ffc746bf2d924dbd285f5bcd06547526 100755 (executable)
@@ -417,7 +417,7 @@ while read f; do
                        IDX=$(dirname $f)
                        tf_name=$(basename $fbz)
                        tf_sha1=$(sha1sum $fbz)
-                       tf_size=$(du $fbz)
+                       tf_size=$(du --bytes $fbz)
                        printf ' %s % 7s %s\n' "${tf_sha1% *}" \
                                "${tf_size%     *}" "${tf_name}" >> "$IDX/Index"
                fi