aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-29 17:22:47 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-29 17:22:47 +0000
commit632edc61f9a3ac632b53f5fabe93a866fe3caac8 (patch)
treee5247a1cf23a68af6647df1930610c9196aac183 /Makefile
parent1ab33dc185bb852c42a47f221eafa86ffe00fcde (diff)
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: http://svn.digium.com/svn/asterisk/trunk@100928 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96d168b48..1b6616f59 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