diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-07-27 23:23:41 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-11-20 20:42:32 +0100 |
commit | 962db0ea9e248e01d46f6ae58d4dfc621b7d5a96 (patch) | |
tree | 8bf43b0ec7a0d2b094b2db607f419b1716f77871 /lib/actions/fetch.bash | |
parent | 05efd6e6854009533faeecbf590190470f04441b (diff) |
Remove --strip-components from tar during fetch
--strip-components is only available in GNU tar, making it unreliable in
OpenBSD environments.
Diffstat (limited to 'lib/actions/fetch.bash')
-rw-r--r-- | lib/actions/fetch.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/actions/fetch.bash b/lib/actions/fetch.bash index 4c95b0a..361d46e 100644 --- a/lib/actions/fetch.bash +++ b/lib/actions/fetch.bash @@ -50,7 +50,7 @@ download_core() { mkdir -p -- "$destination" tarball="$(fetch_http "$source")" \ - && tar xzf "$tarball" -C "$destination" --strip-components=1 \ + && tar xzf "$tarball" -C "$destination" \ && return crit "Failed to download $destination" |