[asterisk-commits] seanbright: branch 1.4 r197264 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 27 15:12:10 CDT 2009


Author: seanbright
Date: Wed May 27 15:12:06 2009
New Revision: 197264

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197264
Log:
Since we use bashisms in build_tools/mkpkgconfig, we should call on bash
explicitly when running from the Makefile.

(closes issue #15209)
Reported by: seandarcy

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/Makefile?view=diff&rev=197264&r1=197263&r2=197264
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Wed May 27 15:12:06 2009
@@ -404,7 +404,7 @@
 	rm -f build_tools/menuselect-deps
 
 datafiles: _all
-	if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" sh build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
+	if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
 # Should static HTTP be installed during make samples or even with its own target ala
 # webvoicemail?  There are portions here that *could* be customized but might also be
 # improved a lot.  I'll put it here for now.




More information about the asterisk-commits mailing list