[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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.
---
 dak/examine_package.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/examine_package.py b/dak/examine_package.py
index 7db7de7..a46cd4c 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
 
-- 
1.7.2.5



Reply to: