diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-27 07:49:46 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-27 07:49:46 +0000 |
commit | 66ad17f0fff7990c5d123f035ffb54cfee9e3f81 (patch) | |
tree | 257a2f9f54261a9077534b77ade1d1709a252152 /release/scripts | |
parent | 35898da3bf0d889296b58e2d748a6db65c5cea87 (diff) | |
download | FreeBSD-src-66ad17f0fff7990c5d123f035ffb54cfee9e3f81.zip FreeBSD-src-66ad17f0fff7990c5d123f035ffb54cfee9e3f81.tar.gz |
Adjust some of these extract scripts.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/extract_secure.sh | 9 | ||||
-rw-r--r-- | release/scripts/extract_src.sh | 12 |
2 files changed, 16 insertions, 5 deletions
diff --git a/release/scripts/extract_secure.sh b/release/scripts/extract_secure.sh index 818e056..5be2ca9 100644 --- a/release/scripts/extract_secure.sh +++ b/release/scripts/extract_secure.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: extract_secure.sh,v 1.1 1995/01/14 07:41:45 jkh Exp $ +# $Id: extract_secure.sh,v 1.2 1995/01/14 07:44:23 jkh Exp $ PATH=/stand:$PATH DDIR=/ @@ -9,3 +9,10 @@ if [ -f /sbin/init ]; then mv /sbin/init /sbin/init.insecure; fi echo "Extracting ${DIST}" cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) + +for DIST in ebones secrsrc; do + if [ -f ${DIST}.aa ]; then + echo "Extracting ${DIST} sources" + cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) + fi +done diff --git a/release/scripts/extract_src.sh b/release/scripts/extract_src.sh index 4cdc2a4..0ce6685 100644 --- a/release/scripts/extract_src.sh +++ b/release/scripts/extract_src.sh @@ -1,8 +1,12 @@ #!/bin/sh -# $Id: extract.sh,v 1.17 1994/12/04 03:41:18 jkh Exp $ +# $Id: extract_src.sh,v 1.1 1995/01/14 07:41:46 jkh Exp $ PATH=/stand:$PATH DDIR=/ -DIST=compat1x_tgz -echo "Extracting ${DIST}" -cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) +for DIST in base bin etc games gnu include lib libexec release sbin lkm \ + release share sys usrbin usrsbin; do + if [ -f ${DIST}.aa ]; then + echo "Extracting ${DIST} sources" + cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) + fi +done |