2004-07-28 Joel Sherrill <joel@OARcorp.com>

* release_support: Have a user name.
This commit is contained in:
Joel Sherrill
2004-07-28 16:06:59 +00:00
parent 7a80f6bf17
commit 1e0d4813c0
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
2004-07-28 Joel Sherrill <joel@OARcorp.com>
* release_support: Have a user name.
2004-07-14 Jay Monkman
* MAINTAINERS: Added Jay Monkman as ARM architecture maintainer
+6
View File
@@ -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"