diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-03 17:13:37 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-03 17:13:37 +0000 |
commit | 4c3aabe7fa10b00e7b50f6a83978b8b8b93050f7 (patch) | |
tree | 4d7940c62ec6dba11fc0a4ced26beb506ae111da /build_tools | |
parent | 686015abcd50110bbc140a807d4ced21e4fe1d82 (diff) |
Bug 6638 - Solaris is starting to remind me of RedHat...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11715 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/make_build_h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build_tools/make_build_h b/build_tools/make_build_h index a9b041985..167785340 100755 --- a/build_tools/make_build_h +++ b/build_tools/make_build_h @@ -3,7 +3,11 @@ HOSTNAME=`uname -n` KERNEL=`uname -r` MACHINE=`uname -m` OS=`uname -s` -USER=`id -un` +if [ `uname -s` = "SunOS" ]; then + USER=`/usr/xpg4/bin/id -un` +else + USER=`id -un` +fi DATE=`date -u "+%Y-%m-%d %H:%M:%S"` cat << END /* |