# Copyright 2004 Vladimir Prus.
# Copyright 2016 Steven Watanabe
# Copyright 2017 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)

# Provides utility functions for handling cygwin paths

rule cygwin-to-windows-path ( path )
{
    return [ MATCH "(.*)[\n]+" : [ SHELL "cygpath -w $(path)" ] ] ;
}
