mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 14:24:09 +01:00
Removed Chris D. added --unlink option since our tar does not understand
it.
This commit is contained in:
parent
926c5ffbf3
commit
4d3ced8b84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334
@ -109,7 +109,7 @@ extract()
|
||||
#XXX ugly hack to eliminate busy files, copy them to /tmp and use them
|
||||
#from there...
|
||||
cp -p /bin/cat /usr/bin/gunzip /usr/bin/tar /tmp
|
||||
/tmp/cat "$@"* | /tmp/gunzip | (cd / ; /tmp/tar --extract --file - --unlink --preserve-permissions ${tarverbose} )
|
||||
/tmp/cat "$@"* | /tmp/gunzip | (cd / ; /tmp/tar --extract --file - --preserve-permissions ${tarverbose} )
|
||||
rm -f /bin/cat /tmp/gunzip /tmp/tar
|
||||
sync
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user