Merged revisions 100882 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 29 Jan 2008 17:16:34 +0000 (17:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 29 Jan 2008 17:16:34 +0000 (17:16 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100882 | russell | 2008-01-29 11:06:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Fix building Asterisk when the working path has spaces in it.

(closes issue #11834)
Reported by: spendergrass
Patched by: me

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100900 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index a1417ba..96d168b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ ASTLDFLAGS+=$(LDOPTS)
 #Uncomment this to see all build commands instead of 'quiet' output
 #NOISY_BUILD=yes
 
-ASTTOPDIR:=$(CURDIR)
+ASTTOPDIR:=$(shell echo $(CURDIR) | sed -e 's/ /\\ /g')
 
 # Overwite config files on "make samples"
 OVERWRITE=y