1 # Copyright 2004 Vladimir Prus.
2 # Copyright 2016 Steven Watanabe
3 # Copyright 2017 Peter Dimov
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
7 # Provides utility functions for handling cygwin paths
9 rule cygwin-to-windows-path ( path )
11 return [ MATCH "(.*)[\n]+" : [ SHELL "cygpath -w $(path)" ] ] ;