From: Russell Bryant Date: Tue, 29 Jan 2008 17:22:47 +0000 (+0000) Subject: Merged revisions 100922 via svnmerge from X-Git-Tag: 1.6.0-beta3~2^2~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1168225f222df25b2d24450f651a985fc5fe61fb;p=thirdparty%2Fasterisk.git Merged revisions 100922 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100922 | russell | 2008-01-29 11:21:33 -0600 (Tue, 29 Jan 2008) | 3 lines Use GNU make magic instead of shell magic to escape spaces in the working directory. (related to issue #11834) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100928 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 96d168b48d..1b6616f593 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,9 @@ ASTLDFLAGS+=$(LDOPTS) #Uncomment this to see all build commands instead of 'quiet' output #NOISY_BUILD=yes -ASTTOPDIR:=$(shell echo $(CURDIR) | sed -e 's/ /\\ /g') +empty:= +space:=$(empty) $(empty) +ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR)) # Overwite config files on "make samples" OVERWRITE=y