automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@11745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Automerge script
2006-03-03 18:04:19 +00:00
parent d848cb43b3
commit c19212f8d0
2 changed files with 8 additions and 2 deletions

View File

@@ -215,10 +215,12 @@ ifeq ($(OSARCH),Linux)
endif
GREP=grep
ID=id
ifeq ($(OSARCH),SunOS)
GREP=/usr/xpg4/bin/grep
M4=/usr/local/bin/m4
ID=/usr/xpg4/bin/id
endif
INCLUDE+=-Iinclude -I../include
@@ -543,7 +545,7 @@ clean:
$(MAKE) -C stdtime clean
datafiles: all
if [ x`id -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
if [ x`$(ID) -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros
for x in sounds/digits/*.gsm; do \

View File

@@ -3,7 +3,11 @@ 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
DATE=`date -u "+%Y-%m-%d %H:%M:%S"`
cat << END
/*