mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 20:56:39 +00:00
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/branches/1.4@100922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
Makefile
4
Makefile
@@ -87,7 +87,9 @@ ASTLDFLAGS+=$(LDOPTS)
|
|||||||
# Create OPTIONS variable
|
# Create OPTIONS variable
|
||||||
OPTIONS=
|
OPTIONS=
|
||||||
|
|
||||||
ASTTOPDIR:=$(shell pwd | sed -e 's/ /\\ /g')
|
empty:=
|
||||||
|
space:=$(empty) $(empty)
|
||||||
|
ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
|
||||||
|
|
||||||
# Overwite config files on "make samples"
|
# Overwite config files on "make samples"
|
||||||
OVERWRITE=y
|
OVERWRITE=y
|
||||||
|
Reference in New Issue
Block a user