]> git.decadent.org.uk Git - dak.git/commitdiff
dak/examine_package.py: dereference symlink by using ls -lL
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 7 Jul 2012 17:39:43 +0000 (11:39 -0600)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 11:57:37 +0000 (13:57 +0200)
This still shows the full path, but at least it shows the correct size
instead of just a symlink to another file.

dak/examine_package.py

index 7db7de7dea3d9973b99039fe13445ba98f6dec79..a46cd4ccb5bfa7f710cef3902b6dae099d9201c5 100755 (executable)
@@ -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