Skip to main content

escape_makefile

Function escape_makefile 

Source
pub fn escape_makefile(s: &str) -> String
Expand description

Escape dollar signs for Makefile compatibility.

In Makefiles, $ is used for variable expansion, so literal $ in shell commands must be escaped as $$.