diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-16 11:25:35 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-16 11:25:35 +0000 |
commit | 5c52cf732a36232a9d20fc70943aefea3b7c9781 (patch) | |
tree | c68ea5fa3d25431fff4284de94b28cf9c7238fe8 /morphlib/bins.py | |
parent | 87c07470ad1d37841dcb594c53715ea3518bd4e9 (diff) | |
download | morph-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.py | 2 |
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]) |