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.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
7 # Provides utility functions for handling cygwin paths
9 rule cygwin-to-windows-path ( path )
11 return [ MATCH "(.*)[\n]+" : [ SHELL "cygpath -w $(path)" ] ] ;