Closed jsun-splunk closed 3 weeks ago
This is an extension of https://github.com/bazelbuild/rules_foreign_cc/pull/1204.
PATH variable updated by the ##path## primitive does not get expanded correctly on windows.
##path##
For example:
##path## $$EXT_BUILD_ROOT$$
gets expanded to
export PATH=C:/users/me/bazel_cache/xxxxxx/execroot/myrepo:$PATH
At the beginning, the C: gets incorrectly interpreted as 2 paths under msys.
C:
C
/users/me/bazel_cache/xxxxxx/execroot/myrepo
The desired expansion here is:
export PATH=/C/users/me/bazel_cache/xxxxxx/execroot/myrepo:$PATH
Which correctly gets interpreted as 1 path.
Hi @jsharpe, could you help have look? Thanks!
This is an extension of https://github.com/bazelbuild/rules_foreign_cc/pull/1204.
PATH variable updated by the
##path##
primitive does not get expanded correctly on windows.For example:
gets expanded to
At the beginning, the
C:
gets incorrectly interpreted as 2 paths under msys.C
/users/me/bazel_cache/xxxxxx/execroot/myrepo
The desired expansion here is:
Which correctly gets interpreted as 1 path.