mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 14:44:28 +00:00
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:
@@ -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
|
||||
/*
|
||||
|
Reference in New Issue
Block a user