From b1f7e8dcc92ef069619d5dba6e63a76bc6eff9a1 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Tue, 25 May 2010 18:43:18 +0000 Subject: [PATCH] Always use forward slashes in arguments to xsltproc. The windows xsltproc can handle forward slashes, but the cygwin version chokes on backslashes [SVN r62212] --- v2/tools/xsltproc.jam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v2/tools/xsltproc.jam b/v2/tools/xsltproc.jam index e0be7561c..7a150f8f0 100644 --- a/v2/tools/xsltproc.jam +++ b/v2/tools/xsltproc.jam @@ -87,7 +87,7 @@ local rule .xsltproc ( target : source stylesheet : properties * : dirname ? : a for local catalog in [ feature.get-values : $(properties) ] { - CATALOG = [ common.variable-setting-command XML_CATALOG_FILES : $(catalog) ] ; + CATALOG = [ common.variable-setting-command XML_CATALOG_FILES : $(catalog:T) ] ; } $(action) $(target) : $(source) ; @@ -108,11 +108,11 @@ rule xslt-dir ( target : source stylesheet : properties * : dirname ) actions xslt-xsltproc bind STYLESHEET { - $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<)" "$(STYLESHEET)" "$(>)" + $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<)" "$(STYLESHEET:T)" "$(>:T)" } actions xslt-xsltproc-dir bind STYLESHEET { - $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<:D)/" "$(STYLESHEET)" "$(>)" + $(CATALOG) "$(NAME:E=xsltproc)" $(FLAGS) --xinclude -o "$(<:D)/" "$(STYLESHEET:T)" "$(>:T)" }