File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2384,12 +2384,12 @@ nvm_extract_tarball() {
2384
2384
2385
2385
if [ " ${NVM_OS} " = ' openbsd' ]; then
2386
2386
if [ " ${tar_compression_flag} " = ' J' ]; then
2387
- command xzcat " ${TARBALL} " | " ${tar} " -xf - -C " ${TMPDIR} " -s ' /[^\/]*\///' || return 1
2387
+ command xzcat " ${TARBALL} " | " ${tar} " --no-same-owner - xf - -C " ${TMPDIR} " -s ' /[^\/]*\///' || return 1
2388
2388
else
2389
- command " ${tar} " -x${tar_compression_flag} f " ${TARBALL} " -C " ${TMPDIR} " -s ' /[^\/]*\///' || return 1
2389
+ command " ${tar} " --no-same-owner - x${tar_compression_flag} f " ${TARBALL} " -C " ${TMPDIR} " -s ' /[^\/]*\///' || return 1
2390
2390
fi
2391
2391
else
2392
- command " ${tar} " -x${tar_compression_flag} f " ${TARBALL} " -C " ${TMPDIR} " --strip-components 1 || return 1
2392
+ command " ${tar} " --no-same-owner - x${tar_compression_flag} f " ${TARBALL} " -C " ${TMPDIR} " --strip-components 1 || return 1
2393
2393
fi
2394
2394
}
2395
2395
You can’t perform that action at this time.
0 commit comments