|
@@ -448,7 +448,7 @@ EOF';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static function quoteBashEcho($string) {
|
|
public static function quoteBashEcho($string) {
|
|
|
- return str_replace('"', '\"', $string);
|
|
|
|
|
|
|
+ return str_replace([ '"', '$' ], [ '\"', '\$' ], $string);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static function cloneArray($arr) {
|
|
public static function cloneArray($arr) {
|