version 1.11, 2007/05/04 21:57:34 |
version 1.12, 2007/09/09 22:40:41 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: release.sh,v 1.10 2007/05/04 20:56:34 andrew Exp $ |
# $RedRiver: release.sh,v 1.11 2007/05/04 20:57:34 andrew Exp $ |
# Copyright (c) 2002 - 2006, FenderQ |
# Copyright (c) 2002 - 2006, FenderQ |
# All rights reserved. |
# All rights reserved. |
# |
# |
|
|
|
|
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 |