diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-03 18:04:19 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-03 18:04:19 +0000 |
commit | 2ea01b7d4a31e0c7c3b9cfb28f9cca1e895ecdf3 (patch) | |
tree | 3364bc4b351d3054b786068b623f5c64b410baba /build_tools | |
parent | 215048a8e1dc2dd263f601bda718d659aae7c3ee (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@11745 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 /* |