version 1.11, 2007/05/04 21:57:34 |
version 1.13, 2007/11/19 22:08:37 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: release.sh,v 1.10 2007/05/04 20:56:34 andrew Exp $ |
# $RedRiver: release.sh,v 1.12 2007/09/09 21:40:41 andrew Exp $ |
# Copyright (c) 2002 - 2006, FenderQ |
# Copyright (c) 2002 - 2006, FenderQ |
# All rights reserved. |
# All rights reserved. |
# |
# |
|
|
SOURCES="src ports XF4" |
SOURCES="src ports XF4" |
|
|
# Anonymous CVS - http://www.openbsd.org/anoncvs.html |
# Anonymous CVS - http://www.openbsd.org/anoncvs.html |
CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs" |
#CVSROOT="anoncvs@anoncvs3.usa.openbsd.org:/cvs" |
|
#CVSROOT="anoncvs@anoncvs1.usa.openbsd.org:/cvs" |
|
CVSROOT="anoncvs@rt.fm:/cvs" |
export CVSROOT |
export CVSROOT |
|
|
install_sources() { |
install_sources() { |
|
|
|
|
if [ $# = 0 ]; then usage; exit 1; fi |
if [ $# = 0 ]; then usage; exit 1; fi |
|
|
if [ `whoami` != "root" ]; then |
if [ `id -u` != "0" ]; then |
echo "You probably should be root instead of `whoami` to run this safely." |
echo "You probably should be root instead of `whoami` to run this safely." |
exit 1 |
exit 1 |
fi |
fi |