[asterisk-commits] branch 1.2 r11635 - /branches/1.2/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 2 17:38:15 MST 2006


Author: tilghman
Date: Thu Mar  2 18:38:14 2006
New Revision: 11635

URL: http://svn.digium.com/view/asterisk?rev=11635&view=rev
Log:
Bug 6638 - Use POSIX command for Solaris

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/Makefile?rev=11635&r1=11634&r2=11635&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Thu Mar  2 18:38:14 2006
@@ -539,7 +539,7 @@
 	$(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 \



More information about the asterisk-commits mailing list