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:
parent
b301bceb15
commit
a5b5ae5a97
2
bin/n
2
bin/n
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user