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: https://origsvn.digium.com/svn/asterisk/branches/1.4@80330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-08-22 18:53:18 +00:00
parent a7583cd240
commit 9b23ab95aa
6 changed files with 9 additions and 11 deletions

View File

@@ -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
/*