0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 02:57:32 +01:00

Update tar command to use --no-same-owner (#593)

This commit is contained in:
scottkof 2019-11-09 14:26:25 -08:00 committed by John Gee
parent b301bceb15
commit a5b5ae5a97

2
bin/n
View File

@ -608,7 +608,7 @@ install() {
cd "${dir}" || abort "Failed to cd to ${dir}"
log fetch "$url"
do_get "${url}" | tar "$tarflag" --strip-components=1
do_get "${url}" | tar "$tarflag" --strip-components=1 --no-same-owner
[ "$GET_SHOWS_PROGRESS" = "true" ] && erase_line
rm -f "$dir/n.lock"