Skip to content

Commit

Permalink
Explicitly tell tar to read from stdin (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn authored Dec 4, 2021
1 parent 4143222 commit 40e2557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/n
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ install() {
cd "${dir}" || abort "Failed to cd to ${dir}"

log fetch "$url"
do_get "${url}" | tar "$tarflag" --strip-components=1 --no-same-owner
do_get "${url}" | tar "$tarflag" --strip-components=1 --no-same-owner -f -
if [[ "${PIPESTATUS[0]}" -ne 0 ]]; then
abort "failed to download archive for $version"
fi
Expand Down

0 comments on commit 40e2557

Please sign in to comment.