diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-04-08 23:09:21 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-04-08 23:09:21 +0000 |
| commit | 3bcda1f14175cfc76c95ad8a1a94e614eb191092 (patch) | |
| tree | b8aae47749a7e741c49afb96eb87b280df66bbee /release/scripts | |
| parent | 19cc96f6a3e4a1587ea368d4f1bc2cb1c5db39f6 (diff) | |
Notes
Diffstat (limited to 'release/scripts')
30 files changed, 84 insertions, 7 deletions
diff --git a/release/scripts/base-install.sh b/release/scripts/base-install.sh index 6b32b033a8426..5d6fc4517fa32 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 6b32b033a8426..5d6fc4517fa32 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 e2806d4192f39..2e618ca76eeb9 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 f09cd3d39f039..ea2c7b3c0760d 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 37912e3ae7407..9bf67a338b446 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 18dbcabbec31d..b471caa9dfde9 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 ba85baa2a6200..ec0faeca3427b 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 8fcd15df0460e..5680c290139d4 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 c0d09d214d218..97708c59617e1 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 9d79d0109ff9d..e2168180f5c98 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 d915431c8d188..d51caac5d4f6c 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 eeb6c9930b788..4f57aaa11ec99 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 d519342f9bcc1..355d6ffcb328c 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 dd7213a9e8964..d7b660f4f4308 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 aae982f67c0a4..5609720ada37b 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 a2f43b6159b89..2cb4029e6ec87 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 4417515f8ff6c..9425369a4ae66 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 6602d1c0bbf47..6c940776b55e8 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 06716d5923f6c..de839e28a36fc 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 2ae15dfdd4e2c..30c12bf23850c 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 2db364676c553..faa3d0c7efe6c 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 b1c8c5356ccf2..e25ceb73dbe98 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 d4293151ea89f..35eb4b7a17ca8 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 5f73f71b86a40..fae9dd3487b75 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 810bab0ee2511..81c4023c77eeb 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 fa67ec78c6260..5dd2b42399381 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 7a60eb31e1834..0c5e699897e5b 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 91e83f4f0eeb2..32e667f35a111 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 9783e029bd03a..e0933f29d7783 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 2c55654ea2800..394265892f2c8 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 |
