diff --git a/ChangeLog b/ChangeLog index b80776941f..e31817356d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-28 Joel Sherrill + + * release_support: Have a user name. + 2004-07-14 Jay Monkman * MAINTAINERS: Added Jay Monkman as ARM architecture maintainer diff --git a/release_support b/release_support index 80699015d6..6d98b26fe8 100755 --- a/release_support +++ b/release_support @@ -18,6 +18,12 @@ if test $# -lt 1 ; then usage "not enough arguments." fi +user_name=`grep ^$LOGNAME /etc/passwd | cut -d':' -f5 | cut -d',' -f1` +# If you don't have user information, then we won't commit anything. +if test "X${user_name}" = "X" ; then + echo "User information not set" + usage +fi case $1 in name) echo "RTEMS"