[asterisk-commits] seanbright: trunk r197260 - /trunk/Makefile

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


Author: seanbright
Date: Wed May 27 15:08:16 2009
New Revision: 197260

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197260
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:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/Makefile?view=diff&rev=197260&r1=197259&r2=197260
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed May 27 15:08:16 2009
@@ -472,7 +472,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