mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
9 lines
256 B
Plaintext
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
|
|
}
|