Kaydet (Commit) c251231c authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

add function to deal with native windows path variables

üst da8a424f
...@@ -40,6 +40,14 @@ PathFormat() ...@@ -40,6 +40,14 @@ PathFormat()
fi fi
} }
WinPath()
{
formatted_path="$1"
if test "$build_os" = "cygwin" ; then
formatted_path=`cygpath -d "$formatted_path"`
fi
}
if test -n "$SOLARENV" ; then if test -n "$SOLARENV" ; then
AC_MSG_ERROR([You have sourced Env.Host.sh in this shell. This may lead to trouble, please run in a fresh (login) shell.]) AC_MSG_ERROR([You have sourced Env.Host.sh in this shell. This may lead to trouble, please run in a fresh (login) shell.])
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment