From: Ansgar Burchardt Date: Sat, 7 Jul 2012 17:39:43 +0000 (-0600) Subject: dak/examine_package.py: dereference symlink by using ls -lL X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4d55ccdfbc7345f53579343fa63e1dd528884417;p=dak.git dak/examine_package.py: dereference symlink by using ls -lL This still shows the full path, but at least it shows the correct size instead of just a symlink to another file. --- diff --git a/dak/examine_package.py b/dak/examine_package.py index 7db7de7d..a46cd4cc 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -553,7 +553,7 @@ def check_deb (suite, deb_filename, session = None): "binary-%s-copyright"%packagename, get_copyright(deb_filename)) + "\n" result += foldable_output("file listing of %s" % (filename), - "binary-%s-file-listing"%packagename, do_command("ls -l", deb_filename)) + "binary-%s-file-listing"%packagename, do_command("ls -Ll", deb_filename)) return result