gecko/build/mozconfig.vs2010-common
Siddharth Agarwal 72385ee806 Bug 779922 - Export Windows-style paths in the in-tree mozconfig.vs2010 when building under Pymake. r=ted
--HG--
extra : rebase_source : bb3dff7e94b53efe79801a2b3bfc6cd78ef47ac3
2012-08-07 02:37:11 +05:30

9 lines
256 B
Plaintext

# Pymake needs Windows-style paths. Use cmd.exe to hack around this.
mk_export_correct_style() {
if test -n "${_PYMAKE}"; then
mk_add_options "export $1=$(cmd.exe //c echo %$1%)"
else
mk_add_options "export $1=$(eval echo \$$1)"
fi
}