[svn-commits] russell: branch 1.4 r100922 - /branches/1.4/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 29 11:21:34 CST 2008


Author: russell
Date: Tue Jan 29 11:21:33 2008
New Revision: 100922

URL: http://svn.digium.com/view/asterisk?view=rev&rev=100922
Log:
Use GNU make magic instead of shell magic to escape spaces in the working directory.
(related to issue #11834)

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?view=diff&rev=100922&r1=100921&r2=100922
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Tue Jan 29 11:21:33 2008
@@ -87,7 +87,9 @@
 # Create OPTIONS variable
 OPTIONS=
 
-ASTTOPDIR:=$(shell pwd | sed -e 's/ /\\ /g')
+empty:=
+space:=$(empty) $(empty)
+ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
 
 # Overwite config files on "make samples"
 OVERWRITE=y




More information about the svn-commits mailing list