summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-16 11:25:35 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-16 11:25:35 +0000
commit5c52cf732a36232a9d20fc70943aefea3b7c9781 (patch)
treec68ea5fa3d25431fff4284de94b28cf9c7238fe8 /morphlib/bins.py
parent87c07470ad1d37841dcb594c53715ea3518bd4e9 (diff)
downloadmorph-5c52cf732a36232a9d20fc70943aefea3b7c9781.tar.gz
tar: add -h option to extraction
This should stop tar from replacing symbolic links with directories and instead follow the symbolic links, extracting the files into the linked directories
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r--morphlib/bins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py
index b6201756..fd0f28d4 100644
--- a/morphlib/bins.py
+++ b/morphlib/bins.py
@@ -109,5 +109,5 @@ def unpack_binary(filename, dirname, ex):
'''
logging.debug('Unpacking %s into %s' % (filename, dirname))
- ex.runv(['tar', '-C', dirname, '-xvf', filename])
+ ex.runv(['tar', '-C', dirname, '-xvhf', filename])