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)
6
7# Provides utility functions for handling cygwin paths
8
9rule cygwin-to-windows-path ( path )
10{
11    return [ MATCH "(.*)[\n]+" : [ SHELL "cygpath -w $(path)" ] ] ;
12}
13