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 /tests | |
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 'tests')
-rwxr-xr-x | tests/name-clash.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/name-clash.script b/tests/name-clash.script index 8f762a3e..ce9ec051 100755 --- a/tests/name-clash.script +++ b/tests/name-clash.script @@ -65,5 +65,5 @@ EOF # unpack it and check the contents INSTDIR="$DATADIR"/unpack mkdir -p "$INSTDIR" -tar -C "$INSTDIR" -xf "$cache/"*hello-stratum* +tar -C "$INSTDIR" -xhf "$cache/"*hello-stratum* test "$("$INSTDIR"/bin/hello)" = "hello, world" |