diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2006-06-26 19:14:29 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2006-06-26 19:14:29 +0000 |
commit | 2b773cc8e610216138f0d4457d7b0c3cd60362a6 (patch) | |
tree | 9c8c8738d97c0f69af2c69d3daaf5e81fa9c9014 /scripts | |
parent | ae5dba11f80f54529b63cf0bb089699f1d17d4dc (diff) | |
download | anaconda-2b773cc8e610216138f0d4457d7b0c3cd60362a6.tar.gz anaconda-2b773cc8e610216138f0d4457d7b0c3cd60362a6.tar.xz anaconda-2b773cc8e610216138f0d4457d7b0c3cd60362a6.zip |
Fix to enable symlinks in trees
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/splittree.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/splittree.py b/scripts/splittree.py index d65c642a5..04282cdfc 100644 --- a/scripts/splittree.py +++ b/scripts/splittree.py @@ -104,16 +104,16 @@ self.reserve_size : Additional size needed to be reserved on the first disc. def getSize(self, path, blocksize=None): - """Gets the size as reported by du -s""" + """Gets the size as reported by du -sL""" if blocksize: - p = os.popen("du -s --block-size=1 %s" % path, 'r') + p = os.popen("du -sL --block-size=1 %s" % path, 'r') thesize = p.read() p.close() thesize = long(string.split(thesize)[0]) return thesize else: - p = os.popen("du -sh %s" % path, 'r') + p = os.popen("du -sLh %s" % path, 'r') thesize = p.read() p.close() thesize = string.split(thesize)[0] |