From 3bcda1f14175cfc76c95ad8a1a94e614eb191092 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 8 Apr 2001 23:09:21 +0000 Subject: [PATCH] Add FreeBSD IDs to some files and make the others consistent in style. --- release/alpha/dokern.sh | 3 ++- release/amd64/dokern.sh | 3 ++- release/i386/dokern.sh | 3 ++- release/pc98/dokern.sh | 3 ++- release/scripts/base-install.sh | 3 +++ release/scripts/bin-install.sh | 3 +++ release/scripts/catpages-install.sh | 3 +++ release/scripts/catpages-make.sh | 3 +++ release/scripts/commerce-install.sh | 3 +++ release/scripts/compat1x-install.sh | 3 +++ release/scripts/compat20-install.sh | 3 +++ release/scripts/compat21-install.sh | 3 +++ release/scripts/compat22-install.sh | 3 +++ release/scripts/compat3x-install.sh | 3 +++ release/scripts/crypto-install.sh | 3 +++ release/scripts/dict-install.sh | 3 +++ release/scripts/dict-make.sh | 3 ++- release/scripts/doFS.sh | 1 + release/scripts/doc-install.sh | 3 +++ release/scripts/doc-make.sh | 3 +++ release/scripts/dokern.sh | 3 ++- release/scripts/games-install.sh | 3 +++ release/scripts/games-make.sh | 3 ++- release/scripts/info-install.sh | 3 +++ release/scripts/info-make.sh | 3 ++- release/scripts/info.sh | 4 ++++ release/scripts/manpages-install.sh | 3 +++ release/scripts/manpages-make.sh | 3 +++ release/scripts/ports-install.sh | 3 +++ release/scripts/proflibs-install.sh | 3 +++ release/scripts/proflibs-make.sh | 3 +++ release/scripts/src-install.sh | 3 +++ release/scripts/tar.sh | 5 ++--- release/scripts/xperimnt-install.sh | 3 +++ 34 files changed, 92 insertions(+), 11 deletions(-) diff --git a/release/alpha/dokern.sh b/release/alpha/dokern.sh index 4417515f8ff6..9425369a4ae6 100755 --- a/release/alpha/dokern.sh +++ b/release/alpha/dokern.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# if [ $# -lt 1 ]; then FDSIZE=NORMAL diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh index 4417515f8ff6..9425369a4ae6 100755 --- a/release/amd64/dokern.sh +++ b/release/amd64/dokern.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# if [ $# -lt 1 ]; then FDSIZE=NORMAL diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh index 4417515f8ff6..9425369a4ae6 100755 --- a/release/i386/dokern.sh +++ b/release/i386/dokern.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# if [ $# -lt 1 ]; then FDSIZE=NORMAL diff --git a/release/pc98/dokern.sh b/release/pc98/dokern.sh index 4417515f8ff6..9425369a4ae6 100755 --- a/release/pc98/dokern.sh +++ b/release/pc98/dokern.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# if [ $# -lt 1 ]; then FDSIZE=NORMAL diff --git a/release/scripts/base-install.sh b/release/scripts/base-install.sh index 6b32b033a842..5d6fc4517fa3 100755 --- a/release/scripts/base-install.sh +++ b/release/scripts/base-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/bin-install.sh b/release/scripts/bin-install.sh index 6b32b033a842..5d6fc4517fa3 100755 --- a/release/scripts/bin-install.sh +++ b/release/scripts/bin-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/catpages-install.sh b/release/scripts/catpages-install.sh index e2806d4192f3..2e618ca76eeb 100755 --- a/release/scripts/catpages-install.sh +++ b/release/scripts/catpages-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/catpages-make.sh b/release/scripts/catpages-make.sh index f09cd3d39f03..ea2c7b3c0760 100755 --- a/release/scripts/catpages-make.sh +++ b/release/scripts/catpages-make.sh @@ -1,4 +1,7 @@ #!/bin/sh +# +# $FreeBSD$ +# # Create the catpages dist - must follow manpages dist script, for obvious # reasons. diff --git a/release/scripts/commerce-install.sh b/release/scripts/commerce-install.sh index 37912e3ae740..9bf67a338b44 100755 --- a/release/scripts/commerce-install.sh +++ b/release/scripts/commerce-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/compat1x-install.sh b/release/scripts/compat1x-install.sh index 18dbcabbec31..b471caa9dfde 100755 --- a/release/scripts/compat1x-install.sh +++ b/release/scripts/compat1x-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/compat20-install.sh b/release/scripts/compat20-install.sh index ba85baa2a620..ec0faeca3427 100755 --- a/release/scripts/compat20-install.sh +++ b/release/scripts/compat20-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/compat21-install.sh b/release/scripts/compat21-install.sh index 8fcd15df0460..5680c290139d 100755 --- a/release/scripts/compat21-install.sh +++ b/release/scripts/compat21-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/compat22-install.sh b/release/scripts/compat22-install.sh index c0d09d214d21..97708c59617e 100755 --- a/release/scripts/compat22-install.sh +++ b/release/scripts/compat22-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/compat3x-install.sh b/release/scripts/compat3x-install.sh index 9d79d0109ff9..e2168180f5c9 100755 --- a/release/scripts/compat3x-install.sh +++ b/release/scripts/compat3x-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/crypto-install.sh b/release/scripts/crypto-install.sh index d915431c8d18..d51caac5d4f6 100755 --- a/release/scripts/crypto-install.sh +++ b/release/scripts/crypto-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/dict-install.sh b/release/scripts/dict-install.sh index eeb6c9930b78..4f57aaa11ec9 100755 --- a/release/scripts/dict-install.sh +++ b/release/scripts/dict-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/dict-make.sh b/release/scripts/dict-make.sh index d519342f9bcc..355d6ffcb328 100755 --- a/release/scripts/dict-make.sh +++ b/release/scripts/dict-make.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# # Move the dict stuff out to its own dist if [ -d ${RD}/trees/bin/usr/share/dict ]; then diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh index dd7213a9e896..d7b660f4f430 100644 --- a/release/scripts/doFS.sh +++ b/release/scripts/doFS.sh @@ -2,6 +2,7 @@ # # $FreeBSD$ # + set -e export BLOCKSIZE=512 diff --git a/release/scripts/doc-install.sh b/release/scripts/doc-install.sh index aae982f67c0a..5609720ada37 100755 --- a/release/scripts/doc-install.sh +++ b/release/scripts/doc-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/doc-make.sh b/release/scripts/doc-make.sh index a2f43b6159b8..2cb4029e6ec8 100755 --- a/release/scripts/doc-make.sh +++ b/release/scripts/doc-make.sh @@ -1,4 +1,7 @@ #!/bin/sh +# +# $FreeBSD$ +# # Create the doc dist. if [ -d ${RD}/trees/bin/usr/share/doc ]; then diff --git a/release/scripts/dokern.sh b/release/scripts/dokern.sh index 4417515f8ff6..9425369a4ae6 100755 --- a/release/scripts/dokern.sh +++ b/release/scripts/dokern.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# if [ $# -lt 1 ]; then FDSIZE=NORMAL diff --git a/release/scripts/games-install.sh b/release/scripts/games-install.sh index 6602d1c0bbf4..6c940776b55e 100755 --- a/release/scripts/games-install.sh +++ b/release/scripts/games-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/games-make.sh b/release/scripts/games-make.sh index 06716d5923f6..de839e28a36f 100755 --- a/release/scripts/games-make.sh +++ b/release/scripts/games-make.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# # Move all the games out to their own dist if [ -d ${RD}/trees/bin/usr/games ]; then diff --git a/release/scripts/info-install.sh b/release/scripts/info-install.sh index 2ae15dfdd4e2..30c12bf23850 100755 --- a/release/scripts/info-install.sh +++ b/release/scripts/info-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/info-make.sh b/release/scripts/info-make.sh index 2db364676c55..faa3d0c7efe6 100755 --- a/release/scripts/info-make.sh +++ b/release/scripts/info-make.sh @@ -1,6 +1,7 @@ #!/bin/sh - +# # $FreeBSD$ +# # Move the info files out to their own dist if [ -d ${RD}/trees/bin/usr/share/info ]; then diff --git a/release/scripts/info.sh b/release/scripts/info.sh index b1c8c5356ccf..e25ceb73dbe9 100644 --- a/release/scripts/info.sh +++ b/release/scripts/info.sh @@ -1,5 +1,9 @@ #!/bin/sh +# # $ANA: info.sh,v 1.3 1996/06/04 16:25:30 wollman Exp $ +# $FreeBSD$ +# + ls $1.[a-z][a-z] | wc | awk '{ print "Pieces = ",$1 }' for FILE in $1.[a-z][a-z]; do PIECE=`echo $FILE | cut -d . -f 2` diff --git a/release/scripts/manpages-install.sh b/release/scripts/manpages-install.sh index d4293151ea89..35eb4b7a17ca 100755 --- a/release/scripts/manpages-install.sh +++ b/release/scripts/manpages-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/manpages-make.sh b/release/scripts/manpages-make.sh index 5f73f71b86a4..fae9dd3487b7 100755 --- a/release/scripts/manpages-make.sh +++ b/release/scripts/manpages-make.sh @@ -1,4 +1,7 @@ #!/bin/sh +# +# $FreeBSD$ +# # Move all the manpages out to their own dist, using the bin dist as a # starting point. diff --git a/release/scripts/ports-install.sh b/release/scripts/ports-install.sh index 810bab0ee251..81c4023c77ee 100755 --- a/release/scripts/ports-install.sh +++ b/release/scripts/ports-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/proflibs-install.sh b/release/scripts/proflibs-install.sh index fa67ec78c626..5dd2b4239938 100755 --- a/release/scripts/proflibs-install.sh +++ b/release/scripts/proflibs-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/proflibs-make.sh b/release/scripts/proflibs-make.sh index 7a60eb31e183..0c5e699897e5 100755 --- a/release/scripts/proflibs-make.sh +++ b/release/scripts/proflibs-make.sh @@ -1,4 +1,7 @@ #!/bin/sh +# +# $FreeBSD$ +# # Move the profiled libraries out to their own dist for i in ${RD}/trees/bin/usr/lib/*_p.a; do diff --git a/release/scripts/src-install.sh b/release/scripts/src-install.sh index 91e83f4f0eeb..32e667f35a11 100755 --- a/release/scripts/src-install.sh +++ b/release/scripts/src-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 diff --git a/release/scripts/tar.sh b/release/scripts/tar.sh index 9783e029bd03..e0933f29d778 100644 --- a/release/scripts/tar.sh +++ b/release/scripts/tar.sh @@ -25,15 +25,14 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # +# $FreeBSD$ +# # # For use on the fixit floppy. External programs required: # cpio(1), find(1), test(1) # -# -# $FreeBSD$ -# archive=${TAPE:-/dev/rsa0} blocksize="20" diff --git a/release/scripts/xperimnt-install.sh b/release/scripts/xperimnt-install.sh index 2c55654ea280..394265892f2c 100755 --- a/release/scripts/xperimnt-install.sh +++ b/release/scripts/xperimnt-install.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# $FreeBSD$ +# + if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1