Commit 0ac1fd1a authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #3264 from vasild/fix/tar_command

Explicitly specify the input file to tar with "-f -"
parents abe44b86 c2dca4bc
......@@ -52,7 +52,7 @@ unarchive() {
tar.gz)
if have_binary tar; then
echo "==> using 'tar' to extract binary from archive"
cat "$ua_infile" | tar -O -z -x "$ua_distname/$ua_distname" > "$ua_outfile"
cat "$ua_infile" | tar -O -z -x -f - "$ua_distname/$ua_distname" > "$ua_outfile"
else
die "no binary on system for extracting tar files"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment