mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
4f351f3ff4
1. Add to secr and bindists to possibly save the occasional fool who doesn't RTFM and uses the wrong command to extract this (or even someone who's legitimately using this to extract on top of a bindist somewhere *else*). 2. Do the right thing with any symlinks in the src tree. Right now, we're free of the buggers, but just in case.
15 lines
374 B
Bash
Executable File
15 lines
374 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# This file will extract all of the FreeBSD secure distribution into
|
|
# ${EXTRACT_TARGET} if it is set, or / otherwise.
|
|
#
|
|
SOURCEDIR=.
|
|
if [ X"${EXTRACT_TARGET}" = X"" ]; then
|
|
EXTRACT_TARGET=/
|
|
fi
|
|
|
|
cd $SOURCEDIR
|
|
|
|
cat des_tgz.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
|
|
cat libcrypt.aa | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
|