diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 18:53:18 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 18:53:18 +0000 |
commit | 7cb9ccbb92d63e9f186aeaa8953516070d3014c5 (patch) | |
tree | e8ce5aa842ad44665df26780fd058370f7e89d2c /build_tools/make_build_h | |
parent | 784d266100e2d5fd71b6e9e801e035a79338a421 (diff) |
Fix a few build issues in Solaris (and likely others).
Use GREP and ID variables from autoconf.
Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80330 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/make_build_h')
-rwxr-xr-x | build_tools/make_build_h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/build_tools/make_build_h b/build_tools/make_build_h index 167785340..b7dadfc33 100755 --- a/build_tools/make_build_h +++ b/build_tools/make_build_h @@ -3,11 +3,7 @@ HOSTNAME=`uname -n` KERNEL=`uname -r` MACHINE=`uname -m` OS=`uname -s` -if [ `uname -s` = "SunOS" ]; then - USER=`/usr/xpg4/bin/id -un` -else - USER=`id -un` -fi +USER=`${ID} -un` DATE=`date -u "+%Y-%m-%d %H:%M:%S"` cat << END /* |