From d03365433f623574b71249e5ff9ab40aa4648b57 Mon Sep 17 00:00:00 2001 From: ErofeevK Date: Mon, 27 Feb 2017 10:30:37 +0700 Subject: [PATCH] cygwin-to-windows-path accepts full windows path Still not work for UNC path. --- src/tools/cygwin.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/cygwin.jam b/src/tools/cygwin.jam index 7c091c015..b3c60bf12 100644 --- a/src/tools/cygwin.jam +++ b/src/tools/cygwin.jam @@ -60,7 +60,7 @@ rule cygwin-to-windows-path ( path ) } tail = $(tail:R=$(head:D=)) ; - if $(head) = / + if $(head) = "/" || [ MATCH "^([a-zA-Z]:/)$" : $(head) ] { head = ; }