mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Merged revisions 333203 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ................ r333203 | qwell | 2011-08-25 10:29:56 -0500 (Thu, 25 Aug 2011) | 15 lines Merged revisions 333201 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r333201 | qwell | 2011-08-25 10:27:06 -0500 (Thu, 25 Aug 2011) | 8 lines Fix installation into directories containing spaces. This also vastly simplifies the logic in sounds/Makefile (Closes issue ASTERISK-18290) Reported by: Paul Belanger Review: https://reviewboard.asterisk.org/r/1379/ ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@333204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
PPATH=$1
|
||||
PPATH="$1"
|
||||
## Make sure we were called from Makefile
|
||||
|
||||
if [ "x$ASTERISKVERSIONNUM" = "x" ]; then
|
||||
@@ -9,7 +9,7 @@ fi
|
||||
|
||||
## Create a pkgconfig spec file for 3rd party modules (pkg-config asterisk --cflags)
|
||||
|
||||
if [ ! -d $PPATH ]; then
|
||||
if [ ! -d "$PPATH" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
@@ -29,7 +29,7 @@ LOCAL_CFLAGS=`echo $CFLAGS | ${EXTREGEX} 's/\s*-pipe\s*//g' | ${EXTREGEX} 's/-[W
|
||||
${EXTREGEX} 's/-DAST(ETCDIR|LIBDIR|VARLIBDIR|VARRUNDIR|SPOOLDIR|LOGDIR|CONFPATH|MODDIR|AGIDIR)=\S* //g'`
|
||||
|
||||
|
||||
cat <<EOF > $PPATH/asterisk.pc
|
||||
cat <<EOF > "$PPATH/asterisk.pc"
|
||||
install_prefix=$INSTALL_PREFIX
|
||||
version_number=$ASTERISKVERSIONNUM
|
||||
etcdir=$ASTETCDIR
|
||||
|
||||
Reference in New Issue
Block a user