Removed Chris D. added --unlink option since our tar does not understand

it.
This commit is contained in:
Rodney W. Grimes 1993-08-26 15:59:21 +00:00
parent 926c5ffbf3
commit 4d3ced8b84
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334

View File

@ -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
}