From: Sean Bright Date: Wed, 27 May 2009 20:08:16 +0000 (+0000) Subject: Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile. X-Git-Tag: 11.0.0-beta1~4807 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7f36e428cd7bcf7cc839677581a928ca9ab49f0;p=thirdparty%2Fasterisk.git Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile. Since we use bashisms in build_tools/mkpkgconfig, we should call on bash explicitly when running from the Makefile, otherwise we get errors during a 'make install.' (closes issue #15209) Reported by: seandarcy git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197260 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 9bed308a8e..f0eca07249 100644 --- a/Makefile +++ b/Makefile @@ -472,7 +472,7 @@ distclean: $(SUBDIRS_DIST_CLEAN) _clean 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.