]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Bug 6638 - Use POSIX command for Solaris
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 3 Mar 2006 00:38:14 +0000 (00:38 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 3 Mar 2006 00:38:14 +0000 (00:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11635 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 348cdaa3975d69aadeabee2e44b15cdd1629d0f0..5f90fe6a5b79d070c44700d25f8401fd9d4610e0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -539,7 +539,7 @@ clean:
        $(MAKE) -C stdtime clean
 
 datafiles: all
-       if [ x`whoami` = 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 \